#22942 [Opn]: bcpow
| From: | pollita@php.net | Date: | Sun, 30 Mar 2003 03:09:12 +0000 |
| Subject: | #22942 [Opn]: bcpow | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352369@lists.php.net to get a copy of this message | ||
ID: 22942
Updated by: pollita@php.net
Reported By: aleon at sedesa dot com dot ar
Status: Open
-Bug Type: BC math related
+Bug Type: Documentation problem
Operating System: linux 2.4.18
PHP Version: 4.3.1
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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