gmp precision
| From: | El Santo | Date: | Wed, 15 Sep 2004 10:18:00 +0000 |
| Subject: | gmp precision | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196716@lists.php.net to get a copy of this message | ||
hi there....
i'm trying to use gmp functions to compute a square root.... i need the decimal part, but the gmp functions, at least afaik, implemented in php only return the integer part... i found no way to get this with gmp...
i used bcmath functions for that, but i found they are 15 to 20 times slower....
will future releases of php implement gmp decimal functions or should i write a C cgi?
regards
s.