Bug #17602 Updated: pow function no longer works

From: Date: Tue, 04 Jun 2002 22:39:22 +0000
Subject: Bug #17602 Updated: pow function no longer works
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9507@lists.php.net to get a copy of this message
ID: 17602 Updated by: edink@php.net Reported By: jn534@hotmail.com -Status: Open +Status: Closed Bug Type: Math related Operating System: Linux PHP Version: 4.2.1 New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-06-04 18:36:34] jn534@hotmail.com When trying to use the pow function with any numerical values one gets the message: Warning: Invalid argument(s) passed to pow(). Moreover, you don't get an answer back from the function. This started happening only when we upgraded to PHP 4.2.1. We have substituted exp(log(a)*b) for pow(a, b) in all our production code rather than go back to previous releases of PHP. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17602&edit=1

« previous php.bugs (#9507) next »