next up previous contents index
Next: divide,mod,quo,rem Up: IntegerType Previous: bit?,clear,set   Contents   Index


coerce,machine


Usage

n::%
machine a


Signatures

coerce: MachineInteger $\to$ %
machine: % $\to$ MachineInteger


Parameter Type Description
a % an integer
n MachineInteger a machine integer


Returns

n::% returns n converted to the current type, while machine(a) returns the low machine word of a converted to a MachineInteger. That operation can cause a loss of precision if a is greater than a machine word.



Manuel Bronstein 2004-06-28