Egon Schmid wrote:
>
> > First, my apologies to Hartmut, I clearly did not
> > understand the context of his comment about "double".
>
> If we could differentiate very clearly a "float" and a "double" it
> should be corrected in the function foldings hooks (protos in
> comments) in the source code for PHP 3 and 4.
maybe *now* is my time to not understand things,
but there is no need to differentiate at all,
PHP has only *one* floating point data type
and for not confusing users that do not have
a programming language background it should have
been named 'float' from the very beginning,
and not 'double' (although it happens to be
implemented as a C double internally, but
that's nothing a PHP user should even think
about, and C developers should be clever enough
to get the clue that a PHP 'float' is a C 'double'
as they already have to remember that a PHP 'int'
is a C 'long')
so all we have to do ist to do a global search and
replace in the XML sources (while taking care not
to change things like is_double() which should for
now stay for backwars compatibility reasons) and
in every C comment line beginning with the token
'proto'
this should all come down to just some lines of PERL
code and yet another mega patch