File/Zend/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 2870 2007-01-17 19:41:41Z bkarwin $
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
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.

  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)
Functions
Zend_Locale_Math_Add (line 55)
void Zend_Locale_Math_Add ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Comp (line 115)
void Zend_Locale_Math_Comp ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Div (line 100)
void Zend_Locale_Math_Div ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Mod (line 140)
void Zend_Locale_Math_Mod ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Mul (line 88)
void Zend_Locale_Math_Mul ( $op1,  $op2)
  • $op1
  • $op2
Zend_Locale_Math_Pow (line 79)
void Zend_Locale_Math_Pow ( $base,  $exp)
  • $base
  • $exp
Zend_Locale_Math_Scale (line 156)
void Zend_Locale_Math_Scale ( $op1)
  • $op1
Zend_Locale_Math_Sqrt (line 128)
void Zend_Locale_Math_Sqrt ( $op1)
  • $op1
Zend_Locale_Math_Sub (line 67)
void Zend_Locale_Math_Sub ( $op1,  $op2)
  • $op1
  • $op2

Documentation generated on Thu, 18 Jan 2007 09:57:54 -0800 by phpDocumentor 1.3.1