Date: 09/20/01
- Next message: Hartmut Holzgraefe: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Previous message: Jeroen van Wolffelaar: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- In reply to: Egon Schmid: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Next in thread: Hartmut Holzgraefe: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Reply: Hartmut Holzgraefe: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Egon Schmid wrote:
> I also donīt see any problems to use floats and
> doubles in the manual.
so inconsistencies are a good thing?
IMHO^H^H^H^Hdefinetly not!
PHP has only one floating point type,
so there should be only one name for it
for historical reasons it has been called 'double'
as is implemented as a C 'double',
but this is confusing to any newcomer without a C background
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
- Next message: Hartmut Holzgraefe: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Previous message: Jeroen van Wolffelaar: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- In reply to: Egon Schmid: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Next in thread: Hartmut Holzgraefe: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Reply: Hartmut Holzgraefe: "Re: [PHP-DOC] Re: cvs: phpdoc /en/functions math.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

