Support for arbitrary precision mathematics in PHP.

Interface for a wrapper across any PHP extension supporting arbitrary precision maths.

category Zend
package Zend_Crypt
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

add()

add($left_operand, $right_operand) 

Parameters

$left_operand

$right_operand

binaryToInteger()

binaryToInteger($operand) 

Parameters

$operand

compare()

compare($left_operand, $right_operand) 

Parameters

$left_operand

$right_operand

divide()

divide($left_operand, $right_operand) 

Parameters

$left_operand

$right_operand

hexToDecimal()

hexToDecimal($operand) 

Parameters

$operand

init()

init($operand, $base = 10

Parameters

$operand

$base

integerToBinary()

integerToBinary($operand) 

Parameters

$operand

modulus()

modulus($left_operand, $modulus) 

Parameters

$left_operand

$modulus

multiply()

multiply($left_operand, $right_operand) 

Parameters

$left_operand

$right_operand

pow()

pow($left_operand, $right_operand) 

Parameters

$left_operand

$right_operand

powmod()

powmod($left_operand, $right_operand, $modulus) 

Parameters

$left_operand

$right_operand

$modulus

sqrt()

sqrt($operand) 

Parameters

$operand

subtract()

subtract($left_operand, $right_operand) 

Parameters

$left_operand

$right_operand