numbers-2009.5.20.1: Various number types

Data.Number.CReal

Synopsis

Documentation

data CReal Source

The CReal type implements (constructive) real numbers.

Note that the comparison operations on CReal may diverge since it is (by necessity) impossible to implementent them correctly and always terminating.

This implementation is really David Lester's ERA package.

showCRealSource

Arguments

:: Int

The number of decimals

-> CReal

The real number

-> String

The resulting string

The showCReal function connverts a CReal to a String.