numbers-2008.4.20.1: Various number types

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

Documentation

data BigFloat e Source

Floating point number where the precision is determined by the type e.

class Epsilon e Source

The Epsilon class contains the types that can be used to determine the precision of a Fixed number.

data Eps1 Source

An epsilon of 1, i.e., no decimals.

Instances

data EpsDiv10 p Source

A type construct that gives one more decimals than the argument.

Instances

data Prec10 Source

Ten decimals.

Instances

data Prec50 Source

50 decimals.

Instances

data PrecPlus20 e Source

Instances