I've fixed some bugs in the function, and believe it is now correct. It's
best to come up with a whole bunch of tests, since there are 25 conditional
expressions in it, for 25 different cases... This is due to the nature of
pow(), and the fact it is now overloaded. pow(0,0) is now fixed to return 1,
as it should, and not 0 (???).
The tests will follow soon. I think it's important to test it on platforms
with 64-bit longs.
(by the way, this function replaces the one in php4/ext/standard/math.c)
If nobody reports any problems, can someone commit it? I don't have the
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]