Cabal-Version: 2.2 -- Cabal >=2.2 is required for: -- -- Since 2.1, the Cabal-Version must be the absolutely first thing -- in the file, even before comments. Also, no longer uses ">=". -- ---------------------------------------------------------------- -- wren gayle romano ~ 2023.03.19 ---------------------------------------------------------------- Name: logfloat Version: 0.14.0 Build-Type: Simple Stability: experimental Homepage: https://wrengr.org/software/hackage.html Bug-Reports: https://github.com/wrengr/logfloat/issues Author: wren gayle romano Maintainer: wren@cpan.org Copyright: 2007–2023 wren romano -- Cabal-2.2 requires us to say "BSD-3-Clause" not "BSD3" License: BSD-3-Clause 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. Extra-source-files: README.md, CHANGELOG -- This should work as far back as GHC 7.6.1, but we don't verify that by CI. -- Tested-With: GHC ==8.0.2, GHC ==8.2.2, GHC ==8.4.4, GHC ==8.6.5, GHC ==8.8.4, GHC ==8.10.3, GHC ==9.0.1, GHC ==9.2.4, GHC ==9.4.4, GHC ==9.6.1 ---------------------------------------------------------------- Source-Repository head Type: git Location: https://github.com/wrengr/logfloat.git ---------------------------------------------------------------- Flag useFFI Default: True Description: Use FFI to link C's log1p. Improves accuracy while maintaining the same performance. Disable only if your compiler doesn't support FFI. ---------------------------------------------------------------- Library Default-Language: Haskell2010 Hs-Source-Dirs: src Exposed-Modules: Data.Number.LogFloat , Data.Number.LogFloat.Raw , 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.