Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The Extended module allows real-valued numeric data types to be extended by positive and negative infinity.
Documentation
Extended numbers are either finite numbers or one of the two infinities.
Instances
Monad Extended Source # | |
Functor Extended Source # | |
Applicative Extended Source # | |
Eq a => Eq (Extended a) Source # | |
(Ord a, Num a) => Num (Extended a) Source # | |
Defined in Data.CDAR.Extended | |
Ord a => Ord (Extended a) Source # | |
Read a => Read (Extended a) Source # | |
Real a => Real (Extended a) Source # | |
Defined in Data.CDAR.Extended toRational :: Extended a -> Rational # | |
Show a => Show (Extended a) Source # | |