exp-extended: floating point with extended exponent range

[ bsd3, library, numeric ] [ Propose Tags ]

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
>                 log . exp                         $ 1000
> unExpExtended . log . exp . negate . expExtended' $ 1000
>                 log . exp . negate                $ 1000

Version 0.2 has lighter dependencies and fixes an overflow bug in expm1.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS], 0.1.1,,, 0.2
Dependencies base (>=4.9 && <4.16) [details]
License BSD-3-Clause
Copyright 2015,2016,2019,2020 Claude Heiland-Allen
Author Claude Heiland-Allen
Maintainer claude@mathr.co.uk
Revised Revision 1 made by ClaudeHeilandAllen at 2021-06-06T09:58:39Z
Category Numeric
Home page https://code.mathr.co.uk/exp-extended
Source repo head: git clone https://code.mathr.co.uk/exp-extended.git
this: git clone https://code.mathr.co.uk/exp-extended.git(tag v0.2)
Uploaded by ClaudeHeilandAllen at 2020-01-01T16:12:40Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3327 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-01-01 [all 1 reports]