Re: [PHP-DOC] Re: Math patches

2003-12-04 Thread Jesus M. Castagnetto
Hi all, --- Mehdi Achour <[EMAIL PROTECTED]> wrote: > > Hello! > Hi Jakub ;) [...snip...] > > round: in fact, this function doesn't round halves > to the nearest even value as stated > > didn't verify it, but someone else will speak if you > are wrong :) Hmm, indeed that function in the releas

Re: [PHP-DOC] Re: Math patches

2003-12-04 Thread Mehdi
there's some problem with your patch : abs: returns number, not mixed we don't use "number" but "int" or "float" Well, we use "number", or at least it is documented that we use that in case any number is acceptable as a parameter... http://www.php.net/manual/en/language.pseudo-types.php

[PHP-DOC] Re: Math patches

2003-12-04 Thread jakub
> we don't use "number" but "int" or "float" I come out from http://cz.php.net/manual/howto/chapter-conventions.html where is written: "In prototypes, you can also use mixed (various types), or number (either integer or float), or scalar (boolean, integer, float or string)." > perhaps I'm picky,

Re: [PHP-DOC] Re: Math patches

2003-12-04 Thread Gabor Hojtsy
there's some problem with your patch : abs: returns number, not mixed we don't use "number" but "int" or "float" Well, we use "number", or at least it is documented that we use that in case any number is acceptable as a parameter... http://www.php.net/manual/en/language.pseudo-types.php Oh yes,

[PHP-DOC] Re: Math patches

2003-12-04 Thread Mehdi Achour
Hello! Hi Jakub ;) I'm sending some patches for math section. It can be summarized like that: there's some problem with your patch : abs: returns number, not mixed we don't use "number" but "int" or "float" atan2: there was small first letter in ok *dec: see also other *dec functions dec*: se