@hackage exp-extended0.2

floating point with extended exponent range

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.2 has lighter dependencies and fixes an overflow bug in expm1.