Reply to Re: [PHP] Help: Get the value of pi up to 200+ digits?

Your name:

Reply:


Posted by Oliver Gr�tz on 10/10/08 11:25

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]

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация