Interface GMPInterface
Interface for chippyash\Type GMP types
Methods summary
public
GMP|resource
|
#
gmp( )
Return the value of number as a gmp resource, object or array May return an
array of gmp resource/object
Return the value of number as a gmp resource, object or array May return an
array of gmp resource/object
Returns
GMP|resource resource|GMP|array
|
public
chippyash\Type\Number\GMPIntType
|
#
asGMPIntType( )
Return number as GMPIntType number. Will return floor(n/d)
Return number as GMPIntType number. Will return floor(n/d)
Returns
|
public
chippyash\Type\Number\Complex\GMPComplexType
|
#
asGMPComplex( )
Return the number as a GMPComplex number i.e. n+0i
Return the number as a GMPComplex number i.e. n+0i
Returns
|
public
chippyash\Type\Number\Rational\GMPRationalType
|
#
asGMPRational( )
Return number as GMPRational number. NB, numerator and denominator will be
caste as GMPIntTypes
Return number as GMPRational number. NB, numerator and denominator will be
caste as GMPIntTypes
Returns
|