variable-precision-0.3.1: variable-precision floating point

Portabilityportable
Stabilityunstable
Maintainerclaude@mathr.co.uk
Safe HaskellNone

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 :: CF24 -> Complex FloatSource

Convert to a Float from the same precision.

fromComplexFloat :: Complex Float -> CF24Source

Convert from a Float to the same precision.

toComplexDouble :: CF53 -> Complex DoubleSource

Convert to a Double from the same precision.

fromComplexDouble :: Complex Double -> CF53Source

Convert from a Double to the same precision.

type CF = C FSource

type CX = C XSource

type F8 = F N8Source

type F16 = F N16Source

type F24 = F N24Source

type F32 = F N32Source

type F40 = F N40Source

type F48 = F N48Source

type F53 = F N53Source

type X8 = X N8Source

type X16 = X N16Source

type X24 = X N24Source

type X32 = X N32Source

type X40 = X N40Source

type X48 = X N48Source

type X53 = X N53Source

type CF8 = CF N8Source

type CX8 = CX N8Source