Safe Haskell | None |
---|---|
Language | Haskell98 |
Numbers with a fixed number of decimals.
- data Fixed e
- class Epsilon e
- data Eps1
- data EpsDiv10 p
- data Prec10
- data Prec50
- data PrecPlus20 e
- data Prec500
- convertFixed :: (Epsilon e, Epsilon f) => Fixed e -> Fixed f
- dynamicEps :: forall a. Rational -> (forall e. Epsilon e => Fixed e -> a) -> Rational -> a
- precision :: Epsilon e => Fixed e -> Rational
- with_added_precision :: forall a f. Epsilon f => Rational -> (forall e. Epsilon e => Fixed e -> a) -> Fixed f -> a
Documentation
Enum (Fixed e) Source # | |
Eq (Fixed e) Source # | |
Epsilon e => Floating (Fixed e) Source # | |
Epsilon e => Fractional (Fixed e) Source # | |
Epsilon e => Num (Fixed e) Source # | |
Ord (Fixed e) Source # | |
Epsilon e => Read (Fixed e) Source # | |
Epsilon e => Real (Fixed e) Source # | |
Epsilon e => RealFloat (Fixed e) Source # | |
Epsilon e => RealFrac (Fixed e) Source # | |
Epsilon e => Show (Fixed e) Source # | |
eps
A type construct that gives one more decimals than the argument.
data PrecPlus20 e Source #
Epsilon e => Epsilon (PrecPlus20 e) Source # | |