Copyright  (c) Masahiro Sakai 2014 

License  BSDstyle 
Maintainer  masahiro.sakai@gmail.com 
Stability  provisional 
Portability  nonportable (DeriveDataTypeable) 
Safe Haskell  SafeInferred 
Language  Haskell2010 
Extension of real numbers with positive/negative infinities (±∞). It is useful for describing various limiting behaviors in mathematics.
Remarks:
∞  ∞
is left undefined as usual, but we define0 × ∞ = 0 × ∞ = 0
by following the convention of probability or measure theory.
References:
 Wikipedia contributors, "Extended real number line," Wikipedia, The Free Encyclopedia, https:/en.wikipedia.orgwiki/Extended_real_number_line (accessed September 1, 2014).
Documentation
Extended r
is an extension of r with positive/negative infinity (±∞).
Functor Extended  
Bounded (Extended r)  
Eq r => Eq (Extended r)  
(Fractional r, Ord r) => Fractional (Extended r)  Note that 
Data r => Data (Extended r)  
(Num r, Ord r) => Num (Extended r)  Note that

Ord r => Ord (Extended r)  
Read r => Read (Extended r)  
Show r => Show (Extended r)  
NFData r => NFData (Extended r)  
Hashable r => Hashable (Extended r)  
Typeable (* > *) Extended 
isInfinite :: Extended r > Bool Source
isInfinite x
returns True
iff x
is PosInf
or NegInf
.