Zend_Locale_MathUtility class for proxying math function to bcmath functions, if present, otherwise to PHP builtin math operators, with limited detection of overflow conditions.
Sampling of PHP environments and platforms suggests that at least 80% to 90% support bcmath. Thus, this file should be as light as possible.
Located in /Zend/Locale/Math.php (line 35)
| Class | Description |
|---|---|
Zend_Locale_Math_PhpMath
|
Utility class for proxying math function to bcmath functions, if present, otherwise to PHP builtin math operators, with limited detection of overflow conditions. |
static mixed
$add
= 'bcadd' (line 40)
static mixed
$comp
= 'bccomp' (line 45)
static mixed
$div
= 'bcdiv' (line 44)
static mixed
$mod
= 'bcmod' (line 47)
static mixed
$mul
= 'bcmul' (line 43)
static mixed
$pow
= 'bcpow' (line 42)
static mixed
$scale
= 'bcscale' (line 48)
static mixed
$sqrt
= 'bcsqrt' (line 46)
static mixed
$sub
= 'bcsub' (line 41)
static mixed
$_bcmathDisabled
= false (line 38)
Documentation generated on Wed, 21 Feb 2007 11:53:44 -0800 by phpDocumentor 1.3.1