Hi,
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
log(a)/log(b))
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.
I'd be glad to hear your opinion,
Jeroen
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]