![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
V. BCMath Arbitrary Precision Mathematics FunctionsIntroductionFor arbitrary precision mathematics PHP offers the Binary Calculator which supports numbers of any size and precision, represented as strings. RequirementsSince PHP 4.0.4, libbcmath is bundled with PHP. You don't need any external libraries for this extension. InstallationThese functions are only available if PHP was configured with --enable-bcmath. In PHP 3, these functions are only available if PHP was not configured with --disable-bcmath. The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions. Runtime ConfigurationThe behaviour of these functions is affected by settings in php.ini.
Table 1. BC math configuration options
Here's a short explanation of the configuration directives.
Resource TypesThis extension has no resource types defined. Predefined ConstantsThis extension has no constants defined.
Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|