TYPO3 CMS  TYPO3_6-2
Auth_OpenID_BcMathWrapper Class Reference
Inheritance diagram for Auth_OpenID_BcMathWrapper:
Auth_OpenID_MathLibrary

Public Member Functions

 add ($x, $y)
 
 sub ($x, $y)
 
 pow ($base, $exponent)
 
 cmp ($x, $y)
 
 init ($number, $base=10)
 
 mod ($base, $modulus)
 
 mul ($x, $y)
 
 div ($x, $y)
 
 _powmod ($base, $exponent, $modulus)
 
 powmod ($base, $exponent, $modulus)
 
 toString ($num)
 
- Public Member Functions inherited from Auth_OpenID_MathLibrary
 longToBinary ($long)
 
 binaryToLong ($str)
 
 base64ToLong ($str)
 
 longToBase64 ($str)
 
 rand ($stop)
 

Public Attributes

 $type = 'bcmath'
 

Detailed Description

Definition at line 190 of file BigMath.php.

Member Function Documentation

◆ _powmod()

Auth_OpenID_BcMathWrapper::_powmod (   $base,
  $exponent,
  $modulus 
)

Same as bcpowmod when bcpowmod is missing

private

Definition at line 238 of file BigMath.php.

References $result.

◆ add()

Auth_OpenID_BcMathWrapper::add (   $x,
  $y 
)

Definition at line 193 of file BigMath.php.

◆ cmp()

Auth_OpenID_BcMathWrapper::cmp (   $x,
  $y 
)

Definition at line 208 of file BigMath.php.

◆ div()

Auth_OpenID_BcMathWrapper::div (   $x,
  $y 
)

Definition at line 228 of file BigMath.php.

◆ init()

Auth_OpenID_BcMathWrapper::init (   $number,
  $base = 10 
)

Definition at line 213 of file BigMath.php.

◆ mod()

Auth_OpenID_BcMathWrapper::mod (   $base,
  $modulus 
)

Definition at line 218 of file BigMath.php.

◆ mul()

Auth_OpenID_BcMathWrapper::mul (   $x,
  $y 
)

Definition at line 223 of file BigMath.php.

◆ pow()

Auth_OpenID_BcMathWrapper::pow (   $base,
  $exponent 
)

Definition at line 203 of file BigMath.php.

◆ powmod()

Auth_OpenID_BcMathWrapper::powmod (   $base,
  $exponent,
  $modulus 
)

Definition at line 252 of file BigMath.php.

◆ sub()

Auth_OpenID_BcMathWrapper::sub (   $x,
  $y 
)

Definition at line 198 of file BigMath.php.

◆ toString()

Auth_OpenID_BcMathWrapper::toString (   $num)

Definition at line 261 of file BigMath.php.

Member Data Documentation

◆ $type

Auth_OpenID_BcMathWrapper::$type = 'bcmath'

Definition at line 191 of file BigMath.php.