Copyright | (c) Andrew Lelechenko, 2014-2015 |
---|---|
License | GPL-3 |
Maintainer | andrew.lelechenko@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
Provides types and necessary instances for rational numbers, extended with infinite values. Just use RationalInf
instead of Rational
from Data.Ratio.
Documentation
Extends a rational type with positive and negative infinities.
type RationalInf = RatioInf Integer Source #
Arbitrary-precision rational numbers with positive and negative infinities.