numbers-2007.9.25: Various number typesSource codeContentsIndex
Data.Number.BigFloat
Description

A simple implementation of floating point numbers with a selectable precision. The number of digits in the mantissa is selected by the Epsilon type class from the Fixed module.

The numbers are stored in base 10.

Synopsis
data BigFloat e
class Epsilon e
data Eps1
data EpsDiv10 p
data Prec10
data Prec50
data PrecPlus20 e
Documentation
data BigFloat e Source
Floating point number where the precision is determined by the type e.
show/hide Instances
class Epsilon e Source
The Epsilon class contains the types that can be used to determine the precision of a Fixed number.
show/hide Instances
data Eps1 Source
An epsilon of 1, i.e., no decimals.
show/hide Instances
data EpsDiv10 p Source
A type construct that gives one more decimals than the argument.
show/hide Instances
data Prec10 Source
Ten decimals.
show/hide Instances
data Prec50 Source
50 decimals.
show/hide Instances
data PrecPlus20 e Source
show/hide Instances
Produced by Haddock version 2.1.0