| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
Data.Number.CReal
Documentation
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.
Instances
| Enum CReal # | |
Defined in Data.Number.CReal | |
| Eq CReal # | |
| Floating CReal # | |
| Fractional CReal # | |
| Num CReal # | |
| Ord CReal # | |
| Read CReal # | |
| Real CReal # | |
Defined in Data.Number.CReal Methods toRational :: CReal -> Rational # | |
| RealFloat CReal # | |
Defined in Data.Number.CReal Methods floatRadix :: CReal -> Integer # floatDigits :: CReal -> Int # floatRange :: CReal -> (Int, Int) # decodeFloat :: CReal -> (Integer, Int) # encodeFloat :: Integer -> Int -> CReal # significand :: CReal -> CReal # scaleFloat :: Int -> CReal -> CReal # isInfinite :: CReal -> Bool # isDenormalized :: CReal -> Bool # isNegativeZero :: CReal -> Bool # | |
| RealFrac CReal # | |
| Show CReal # | |