---------------------------------------------------------------- -- wren ng thornton ~ 2008.10.12 ---------------------------------------------------------------- Name: logfloat Version: 0.9.1.1 Cabal-Version: >= 1.2 Build-Type: Simple Stability: provisional Copyright: Copyright (c) 2007--2008 wren ng thornton License: BSD3 License-File: LICENSE Author: wren ng thornton Maintainer: wren@community.haskell.org Homepage: http://code.haskell.org/~wren/ Category: Data, Math, Natural Language Processing Synopsis: Log-domain floating point numbers Description: This module presents a class 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. -- Doing it this way uncovers a bug in Cabal-1.2.3.0: -- "Setup.hs: 'parseField' called on a non-field. This is a bug." --Flag hiddenPrim -- Description: Use GHC 6.10's newly hidden package for GHC.Prim -- if impl(ghc >= 6.10) -- Default: true -- else -- Default: false Library Exposed-Modules: Data.Number.LogFloat , Data.Number.Transfinite , Data.Number.PartialOrd Build-Depends: base -- if flag(hiddenPrim) if impl(ghc >= 6.10) Build-Depends: ghc-prim ---------------------------------------------------------------- ----------------------------------------------------------- fin.