File/Locale/Math/PhpMath.php

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

  • version: $Id: PhpMath.php 4223 2007-03-24 10:20:34Z thomas $
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License
Classes
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.
Includes
 require_once ('Zend/Locale/Math/Exception.php') (line 35)

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. This file should only be loaded for the 10% to 20% lacking access to the bcmath extension.

  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License
Functions
Zend_Locale_Math_Add (line 55)
void Zend_Locale_Math_Add ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Comp (line 126)
void Zend_Locale_Math_Comp ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Div (line 111)
void Zend_Locale_Math_Div ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Mod (line 151)
void Zend_Locale_Math_Mod ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Mul (line 99)
void Zend_Locale_Math_Mul ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Pow (line 90)
void Zend_Locale_Math_Pow ( $base,  $exp)
  • $base
  • $exp
Zend_Locale_Math_Scale (line 167)
void Zend_Locale_Math_Scale ( $op1)
  • $op1
Zend_Locale_Math_Sqrt (line 139)
void Zend_Locale_Math_Sqrt ( $op1)
  • $op1
Zend_Locale_Math_Sub (line 67)
void Zend_Locale_Math_Sub ( $op1,  $op2, [ $op3 = null])
  • $op1
  • $op2
  • $op3

Documentation generated on Sun, 27 May 2007 23:26:38 -0700 by phpDocumentor 1.3.2