Locale/Math/PhpMath.php

Show: PublicProtectedPrivateinherited
Table of Contents
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.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Locale  
Version
$Id$  

\Zend_Locale_Math_PhpMath

Package: Zend_Locale
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.
Parent(s)
\Zend_Locale_Math
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertypublic$defaultPrecision
static
Details
Type
n/a
>VPropertypublic$defaultScale
static
Details
Type
n/a

Methods

methodpublicAdd( $op1,  $op2,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$op2
$scale
methodpublicComp( $op1,  $op2,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$op2
$scale
methodpublicDiv( $op1,  $op2,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$op2
$scale
methodpublicMod( $op1,  $op2) : void
static

Parameters
NameTypeDescription
$op1
$op2
methodpublicMul( $op1,  $op2,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$op2
$scale
methodpublicPow( $op1,  $op2,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$op2
$scale
methodpublicScale( $scale) : void
static

Parameters
NameTypeDescription
$scale
methodpublicSqrt( $op1,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$scale
methodpublicSub( $op1,  $op2,  $scale = null) : void
static

Parameters
NameTypeDescription
$op1
$op2
$scale
methodpublicdisable() : void
static

Documentation was generated by phpDocumentor 2.2.0 .