logfloat: Log-domain floating point numbers

[ bsd3, data, library, math, natural-language-processing, statistics ] [ Propose Tags ]

This module presents a type for storing numbers in the log-domain. The main reason for doing this is to prevent underflow when multiplying many probabilities as is done in Hidden Markov Models. It is also helpful for preventing overflow.

Flags

Automatic Flags
NameDescriptionDefault
useffi

Use FFI to link C's log1p. Improves accuracy and same performance. Disable only if your compiler doesn't support FFI.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

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

Candidates

  • No Candidates
Versions [RSS] 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.9.0, 0.9.1, 0.9.1.1, 0.9.1.2, 0.9.1.3, 0.10.0, 0.11.0, 0.11.0.1, 0.11.1, 0.12, 0.12.0.1, 0.12.1, 0.13.0.1, 0.13.1, 0.13.2, 0.13.3, 0.13.3.1, 0.13.3.2, 0.13.3.3, 0.13.4, 0.14.0
Dependencies array, base (>=4 && <4.8) [details]
License BSD-3-Clause
Copyright Copyright (c) 2007--2015 wren gayle romano
Author wren gayle romano
Maintainer wren@community.haskell.org
Revised Revision 1 made by HerbertValerioRiedel at 2017-06-25T13:42:46Z
Category Data, Math, Natural Language Processing, Statistics
Home page http://code.haskell.org/~wren/
Source repo head: darcs get http://community.haskell.org/~wren/logfloat
Uploaded by WrenThornton at 2015-02-18T02:34:42Z
Distributions LTSHaskell:0.14.0, NixOS:0.14.0, Stackage:0.14.0
Reverse Dependencies 13 direct, 69 indirect [details]
Downloads 24426 total (83 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-02-18 [all 1 reports]