variable-precision-0.2: variable-precision floating point

Portabilityportable
Stabilityunstable
Maintainerclaudiusmaximus@goto10.org
Safe HaskellSafe-Infered

Numeric.VariablePrecision.Aliases

Description

Aliases for recodeFloat and recodeComplex with specialized types.

Aliases for commonly desired types.

Synopsis

Documentation

toFloat :: F24 -> FloatSource

Convert to a Float from the same precision.

fromFloat :: Float -> F24Source

Convert from a Float to the same precision.

toDouble :: F53 -> DoubleSource

Convert to a Double from the same precision.

fromDouble :: Double -> F53Source

Convert from a Double to the same precision.

toComplexFloat :: C24 -> Complex FloatSource

Convert to a Float from the same precision.

fromComplexFloat :: Complex Float -> C24Source

Convert from a Float to the same precision.

toComplexDouble :: C53 -> Complex DoubleSource

Convert to a Double from the same precision.

fromComplexDouble :: Complex Double -> C53Source

Convert from a Double to the same precision.