cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 055716fd894ce8e71c2be1db7a3f5a30b6ef588291635e8f57429d608c19eb71
name: numeric-logarithms
version: 0.1.0.0
synopsis: Efficient rounded log2 algorithms on integral and rational types.
description: This provides a user-facing API for the GHC primitive 'integerLog2#', in the
form of functions computing the floor, ceiling, or other rounded form of the
base-2 logarithm of 'Integral' or 'Rational' types.
category: Numeric
homepage: https://github.com/google/hs-numeric-logarithms#readme
bug-reports: https://github.com/google/hs-numeric-logarithms/issues
author: Andrew Pritchard <awpr@google.com>
maintainer: Andrew Pritchard <awpr@google.com>
copyright: 2018-2021 Google LLC
license: Apache-2.0
license-file: LICENSE
build-type: Simple
extra-source-files:
CHANGELOG.md
source-repository head
type: git
location: https://github.com/google/hs-numeric-logarithms
library
exposed-modules:
Numeric.Logarithms
other-modules:
Paths_numeric_logarithms
hs-source-dirs:
src
build-depends:
base >=4.9 && <4.16
, integer-gmp >=0.5 && <1.1
default-language: Haskell2010
test-suite Logarithms-test
type: exitcode-stdio-1.0
main-is: LogarithmsTest.hs
other-modules:
Paths_numeric_logarithms
hs-source-dirs:
test
build-depends:
QuickCheck
, base >=4.9 && <4.16
, integer-gmp >=0.5 && <1.1
, numeric-logarithms
, test-framework
, test-framework-quickcheck2
default-language: Haskell2010