BigInteger Interface Reference
[Mathematical utilities]

Inheritance diagram for BigInteger:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 add (BigInteger $x)
 
Returns:
BigInteger

 compareTo (BigInteger $x)
 mod (BigInteger $mod)
 
Returns:
BigInteger

 pow (BigInteger $exp)
 
Returns:
BigInteger

 modPow (BigInteger $exp, BigInteger $mod)
 
Returns:
BigInteger

 subtract (BigInteger $x)
 
Returns:
BigInteger

 mul (BigInteger $x)
 
Returns:
BigInteger

 div (BigInteger $x)
 
Returns:
BigInteger

 toBinary ()
 convert to big-endian signed two's complement notation
 intValue ()
 floatValue ()

Static Public Member Functions

static getFactory ()
 
Returns:
BigNumberFactory


Detailed Description

Definition at line 16 of file BigInteger.class.php.


Member Function Documentation

static BigInteger::getFactory (  )  [static]

Returns:
BigNumberFactory

Implemented in GmpBigInteger.

BigInteger::add ( BigInteger x  ) 

Returns:
BigInteger

Implemented in GmpBigInteger.

BigInteger::compareTo ( BigInteger x  ) 

Implemented in GmpBigInteger.

BigInteger::mod ( BigInteger mod  ) 

Returns:
BigInteger

Implemented in GmpBigInteger.

BigInteger::pow ( BigInteger exp  ) 

Returns:
BigInteger

Implemented in GmpBigInteger.

BigInteger::modPow ( BigInteger exp,
BigInteger mod 
)

Returns:
BigInteger

Implemented in GmpBigInteger.

Referenced by DiffieHellmanKeyPair::makeSharedKey().

BigInteger::subtract ( BigInteger x  ) 

Returns:
BigInteger

Implemented in GmpBigInteger.

BigInteger::mul ( BigInteger x  ) 

Returns:
BigInteger

Implemented in GmpBigInteger.

BigInteger::div ( BigInteger x  ) 

Returns:
BigInteger

Implemented in GmpBigInteger.

BigInteger::toBinary (  ) 

convert to big-endian signed two's complement notation

Implemented in GmpBigInteger.

BigInteger::intValue (  ) 

Implemented in GmpBigInteger.

BigInteger::floatValue (  ) 

Implemented in GmpBigInteger.


The documentation for this interface was generated from the following file:
Generated on Sun Dec 9 21:56:58 2007 for onPHP by  doxygen 1.5.4