Re: Re: cvs: phpdoc /en/functions math.xml
| From: | Hartmut Holzgraefe | Date: | Thu, 20 Sep 2001 08:00:05 +0000 |
| Subject: | Re: Re: cvs: phpdoc /en/functions math.xml | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969337630@lists.php.net to get a copy of this message | ||
Hartmut Holzgraefe wrote:
> the only reason for not changing 'double' to 'float'
> all over the place are is_double() (which could be aliased)
> and gettype() returning "double" as a type identifier string
> which is not easy to change without breaking existing code
but then the gettype() page already says:
Warning
Never use gettype() to test for a certain type, since the
returned string may be subject to change in a future version.
and we already have is_float()
so no reasons left for not calling a floating point number
"float" instead of "double" (double what?)