next up previous contents index
Next: coerce Up: Arithmetic Previous: fraction,truncate   Contents   Index


GMPFloat


Usage

import from GMPFloat


Description

GMPFloat implements arbitrary precision floats with the float arithmetic provided by GMP.


Exports

CopyableType
FloatType
coerce: SingleFloat $\to$ % conversion
  DoubleFloat $\to$ %  
  GMPInteger $\to$ %  
defaultPrecision: () $\to$ Z default precision
limbs: % $\to$ Generator Z iteration
machine: % $\to$ DoubleFloat conversion to double precision
new: () $\to$ % initialization (for calling GMP)
precision: % $\to$ Z precision
setDefaultPrecision: Z $\to$ Z adjust default precision
setPrecision!: (%, Z) $\to$ % adjust precision
single: % $\to$ SingleFloat conversion to single precision


where

Z == MachineInteger



Subsections
next up previous contents index
Next: coerce Up: Arithmetic Previous: fraction,truncate   Contents   Index
Manuel Bronstein 2004-06-28