|
|
|
|
|
| Description |
| Numbers with a fixed number of decimals.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data Fixed e |
Instances | |
|
|
| class Epsilon e |
| The Epsilon class contains the types that can be used to determine the
precision of a Fixed number.
| | Instances | |
|
|
| data Eps1 |
| An epsilon of 1, i.e., no decimals.
| Instances | |
|
|
| data EpsDiv10 p |
| A type construct that gives one more decimals than the argument.
| Instances | |
|
|
| data Prec10 |
| Ten decimals.
| Instances | |
|
|
| data Prec50 |
| 50 decimals.
| Instances | |
|
|
| data PrecPlus20 e |
Instances | |
|
|
| convertFixed :: (Epsilon e, Epsilon f) => Fixed e -> Fixed f |
| Convert between two arbitrary fixed precision types.
|
|
| dynamicEps :: forall a . Rational -> (forall e . Epsilon e => Fixed e -> a) -> Rational -> a |
|
| precision :: Epsilon e => Fixed e -> Rational |
|
| Produced by Haddock version 0.8 |