The exp-extended package

[ Tags: 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
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.

Properties

Versions 0.1.0.1, 0.1.1, 0.1.1.1, 0.1.1.2
Dependencies base (>=4.8 && <4.11), compensated (==0.7.*), log-domain (>=0.10 && <0.12) [details]
License BSD3
Copyright 2015,2016 Claude Heiland-Allen
Author Claude Heiland-Allen
Maintainer claude@mathr.co.uk
Category Numeric
Home page https://code.mathr.co.uk/exp-extended
Source repository head: git clone https://code.mathr.co.uk/exp-extended.git
this: git clone https://code.mathr.co.uk/exp-extended.git(tag v0.1.1.2)
Uploaded Sat Aug 27 15:07:38 UTC 2016 by ClaudeHeilandAllen
Updated Fri Aug 4 00:32:48 UTC 2017 by ClaudeHeilandAllen to revision 1
Distributions NixOS:0.1.1.2
Downloads 290 total (17 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-20 [all 2 reports]
Hackage Matrix CI

Modules

  • Numeric
    • Numeric.ExpExtended
      • Numeric.ExpExtended.Internal

Downloads

Maintainer's Corner

For package maintainers and hackage trustees