#22942 [Opn->Csd]: bcpow

From: Date: Mon, 31 Mar 2003 14:55:08 +0000
Subject: #22942 [Opn->Csd]: bcpow
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352393@lists.php.net to get a copy of this message
ID: 22942 Updated by: adam@php.net Reported By: aleon at sedesa dot com dot ar -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: linux 2.4.18 PHP Version: 4.3.1 -Assigned To: +Assigned To: adam New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot 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 in short time. Thank you for the report, and for helping us make PHP better. Fixed, "y" in bcpow and bcpowmod are now listed as type integer. Previous Comments: ------------------------------------------------------------------------ [2003-03-29 21:09:11] pollita@php.net libbcmath, unfortunately, does not support non-integer exponents in either raise (bcpow) or raisemod (bcpowmod). libgmp, sadly, is no better. Documentation should be updated to reflect. ------------------------------------------------------------------------ [2003-03-28 15:51:18] aleon at sedesa dot com dot ar bcpow(1.0183333333,0.9990867579) this gives 1 when it should be 1.018316438, no matter wich scale i choose. If you approach 0.9990867579 to 0.9999999999999, then it works. './configure' '--with-mysql' '--with-gd' '--with-zlib' '--with-apxs' --enable-bcmath P3 500 mhz, 256 ram ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22942&edit=1

« previous php.doc (#969352393) next »