exp-extended: 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.1.1 is a bugfix release, correctly handling exactly-zero values in additions and comparisons.
Downloads
- exp-extended-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.1, 0.1.1, 0.1.1.1, 0.1.1.2, 0.2 |
---|---|
Dependencies | base (>=4.8 && <4.9), compensated (>=0.7 && <0.8), log-domain (>=0.10 && <0.11) [details] |
License | BSD-3-Clause |
Copyright | 2015,2016 Claude Heiland-Allen |
Author | Claude Heiland-Allen |
Maintainer | claude@mathr.co.uk |
Category | Numeric |
Home page | http://code.mathr.co.uk/exp-extended |
Source repo | head: git clone http://code.mathr.co.uk/exp-extended.git this: git clone http://code.mathr.co.uk/exp-extended.git(tag v0.1.1) |
Uploaded | by ClaudeHeilandAllen at 2016-01-14T21:55:57Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3359 total (3 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2016-01-20 [all 1 reports] |