---------------------------------------------------------------- -- wren gayle romano ~ 2015.03.29 ---------------------------------------------------------------- -- By and large Cabal >=1.2 is fine; but >= 1.6 gives tested-with: -- and source-repository:. Cabal-Version: >= 1.6 Build-Type: Simple Name: logfloat Version: 0.13.3 x-revision: 1 Stability: experimental Homepage: http://code.haskell.org/~wren/ Author: wren gayle romano Maintainer: wren@community.haskell.org Copyright: Copyright (c) 2007--2015 wren gayle romano License: BSD3 License-File: LICENSE Category: Data, Math, Natural Language Processing, Statistics Synopsis: Log-domain floating point numbers Description: 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. -- TODO: does GHC 6.12.1 and 7.6.1 still work? do we care? Tested-With: GHC == 7.8.3, GHC == 7.10.1 Extra-source-files: INSTALL, VERSION Source-Repository head Type: darcs Location: http://community.haskell.org/~wren/logfloat ---------------------------------------------------------------- Flag useFFI Default: True Description: Use FFI to link C's log1p. Improves accuracy and same performance. Disable only if your compiler doesn't support FFI. ---------------------------------------------------------------- Library Hs-Source-Dirs: src Exposed-Modules: Data.Number.LogFloat , Data.Number.RealToFrac , Data.Number.Transfinite , Data.Number.PartialOrd , Hugs.RealFloat Build-Depends: base >= 4.6 && < 5 -- TODO: do we need any version constraints on array? , array if flag(useFFI) -- BUG (Cabal 1.2 + Haddock): See the INSTALL file. --GHC-Options: -D__USE_FFI__ CPP-Options: -D__USE_FFI__ includes: math.h extra-libraries: m -- BUG (Cabal <= 1.6 + Hugs): See the INSTALL file. Hugs-Options: -98 +o if impl(hugs) -- BUG: (Cabal 1.2 + Haddock) See the INSTALL file. --GHC-Options: -D__HUGS__=200609 CPP-Options: -D__HUGS__=200609 ---------------------------------------------------------------- ----------------------------------------------------------- fin.