Methods Summary | ||
---|---|---|
protected
|
#
__construct( Brick\Math\BigInteger $numerator , Brick\Math\BigInteger $denominator , bool $checkDemominator )
Protected constructor. Use a factory method to obtain an instance.
|
|
public static
|
||
public static
|
||
public static
|
||
public static
|
||
public static
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
#
quotientAndRemainder( )
Returns the quotient and remainder of the division of the numerator by the denominator.
|
|
public
|
||
public
|
||
public
|
#
multipliedBy( \BigNumber|\number|string $that )
Returns the product of this number and the given one.
|
|
public
|
||
public
|
||
public
|
#
reciprocal( )
Returns the reciprocal of this BigRational.
The reciprocal has the numerator and denominator swapped.
|
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|