floating point with extended exponent range http://code.mathr.co.uk/exp-extended
|Latest on Hackage:||0.1.1.2|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
A small library to extend floating point types with a larger exponent, so that you can represent really huge or really tiny numbers without overflow to infinity or underflow to zero.
> unExpExtended . log . exp . expExtended' $ 1000 1000.0 > log . exp $ 1000 Infinity > unExpExtended . log . exp . negate . expExtended' $ 1000 -1000.0 > log . exp . negate $ 1000 -Infinity
Version 0.1.1 is a bugfix release, correctly handling exactly-zero values in additions and comparisons.