Re: Help: Get the value of pi up to 200+ digits?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wong HoWang schrieb:
> but my server configure don't have bcmath enabled, is there any other way to 
> do so?

Since the internal routines of PHP have limited precision, you these
options:

- Find a way to activate bcmath (not likely to happen on a shared
hosting account)

- Find an external program that you can install and use (if you have
shared hosting an ssh, you can probably install a command line version
of bcmath)

- find a web service (http://de.php.net/soap) that solves the problem
(perhaps kind of overkill)

- DIY (do it yourself). Implement an arbitrary precision PI algorithm in
PHP (or perhaps somebody has already done this).


AllOLLi
____________
"It's just sex, it's totally harmless."
[Gabrielle on DH109]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux