Infinity -package:semirings
A representation of infinity
infinity is defined for any
Field.
>>> one / zero + infinity
Infinity
>>> infinity + 1
Infinity
Infinity for
Double and
Float. Surprisingly, Haskell
Prelude doesn't have this value defined, so we provide it here.
An infinite floating-point quantity.
A transfinite value which is greater than all finite values. Adding or
subtracting any finite value is a no-op. As is multiplying by any
non-zero positive value (including infinity), and dividing by
any positive finite value. Also obeys the law negate infinity =
negativeInfinity with all appropriate ramifications.
The infinite natural number.
Infinity value if the type supports it.
Not on Stackage, so not searched.
If we have an edge X + n <= X (with n >= 0), we must
set X = oo.
Check if a
Point is the point at infinity
Check if a point is the point at infinity.