@hackage logfloat0.13.3
Log-domain floating point numbers
Categories
License
BSD-3-Clause
Maintainer
wren@community.haskell.org
Links
Versions
Installation
Dependencies (2)
Dependents (15)
@hackage/network-topic-models, @hackage/crf-chain2-tiers, @hackage/bayes-stack, @hackage/hmm, @hackage/hakaru, @hackage/acme-everything, Show all…
Package Flags
useffi
(on by default)
Use FFI to link C's log1p. Improves accuracy and same performance. Disable only if your compiler doesn't support FFI.
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.