Class Zend_Locale_Math

Description

Utility 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.

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Locale/Math.php (line 35)


	
			
Direct descendents
Class Description
 class 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.
Variable Summary
 static mixed $add
 static mixed $comp
 static mixed $div
 static mixed $mod
 static mixed $mul
 static mixed $pow
 static mixed $scale
 static mixed $sqrt
 static mixed $sub
 static mixed $_bcmathDisabled
Method Summary
 static void isBcmathDisabled ()
Variables
static mixed $add = 'bcadd' (line 40)
  • access: public
static mixed $comp = 'bccomp' (line 45)
  • access: public
static mixed $div = 'bcdiv' (line 44)
  • access: public
static mixed $mod = 'bcmod' (line 47)
  • access: public
static mixed $mul = 'bcmul' (line 43)
  • access: public
static mixed $pow = 'bcpow' (line 42)
  • access: public
static mixed $scale = 'bcscale' (line 48)
  • access: public
static mixed $sqrt = 'bcsqrt' (line 46)
  • access: public
static mixed $sub = 'bcsub' (line 41)
  • access: public
static mixed $_bcmathDisabled = false (line 38)
  • access: protected
Methods
static isBcmathDisabled (line 50)
  • access: public
static void isBcmathDisabled ()

Documentation generated on Wed, 21 Feb 2007 11:53:44 -0800 by phpDocumentor 1.3.1