next up previous contents index
Next: limbs Up: GMPInteger Previous: GMPInteger   Contents   Index


coerce


Usage

m::%
n::AldorInteger


Signatures

coerce: AldorInteger $\to$ %
coerce: % $\to$ AldorInteger


Parameter Type Description
m % an ALDOR integer
n AldorInteger a gmp integer


Description

Those functions convert between ALDOR and GMP integers.


Remarks

The conversion to an AldorInteger can be quadratic in the number of bits of the integer, which is expensive.



Manuel Bronstein 2004-06-28