At 01:41 AM 8/4/2001 +0200, [EMAIL PROTECTED] wrote:
>I've got the following suggestion, about some of the new math-functions
>recently added:
>log2 and log10: remove from PHP
>exp2 and exp10: remove from PHP
>(the pow-way is also simply better, in the case of exp2/10, that is)
>Add second parameter to log, to specify base. (better than writing
>Optional: add second parameter to exp, to specify base.
>I am not in favor of the latter one, since exp(exp,base) === pow(base,exp).
>But for consistency with log, you could argue to do so.
>Remove cbrt?, isn't used much, and the name isn't as familiar as sqrt.
>expm1, log1p: Could be useful for some people, so leave them there.

log(a) / log(n) is not that much harder, and its the right way, imho.

Why not move the more complex functions into a separate "math" extension or 
statistics extension?


PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to