◆ __construct()
◆ __clone()
Subclasses must provide clone functionality.
- Renvoie
- BigInteger
◆ __toString()
Must provide string implementation that returns base 10 number.
- Renvoie
- string
◆ _fromInteger()
Assign the instance value from an integer type.
- Paramètres
-
◆ _fromString()
Assign the instance value from base 10 string.
- Paramètres
-
◆ absoluteValue()
◆ add()
Add another integer $b and returns the result.
- Paramètres
-
- Renvoie
- BigInteger
◆ compare()
Compare the integer with $number, returns a negative integer if $this is less than number, returns 0 if $this is equal to number and returns a positive integer if $this is greater than number.
- Paramètres
-
- Renvoie
- int
◆ create()
◆ isNegative()
Is represented integer negative?
- Renvoie
- bool
◆ modulus()
The value $this modulus $b.
- Paramètres
-
- Renvoie
- BigInteger
◆ multiply()
◆ setPrefer()
static setPrefer |
( |
|
$prefer = null | ) |
|
|
static |
◆ shiftLeft()
Shift the value to the left by a set number of bits and returns the result.
- Paramètres
-
- Renvoie
- BigInteger
◆ shiftRight()
Shift the value to the right by a set number of bits and returns the result.
- Paramètres
-
- Renvoie
- BigInteger
◆ subtract()
Subtract $b from $this and returns the result.
- Paramètres
-
- Renvoie
- BigInteger
◆ toInteger()
Return integer, if possible. Throws an exception if the number can not be represented as a native integer.
- Renvoie
- int
- Exceptions
-
◆ toPower()
Raise $this to the power of $b and returns the result.
- Paramètres
-
- Renvoie
- BigInteger
◆ $_prefer
La documentation de cette classe a été générée à partir du fichier suivant :