next up previous contents index
Next: machine,single Up: GMPFloat Previous: coerce   Contents   Index


limbs


Usage

for d in limbs x repeat { ...}


Signature

limbs: % $\to$ Generator MachineInteger


Parameter Type Description
x % a float


Description

This function allows the individual limbs of a GMP float to be iterated independently of the machine size. This generator yields the limbs from the least to the most significant.


Remarks

The limbs of $x$ describe $\vert x\vert$, so combine it with sign if you need a complete description of $x$.



Manuel Bronstein 2004-06-28