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
x-revision: 4
synopsis:       Integral and rational log2 algorithms
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 <awpritchard@gmail.com>
maintainer:     Andrew Pritchard <awpritchard@gmail.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.17
    , integer-gmp >=0.5 && <1.2
  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.17
    , integer-gmp >=0.5 && <1.2
    , numeric-logarithms
    , test-framework
    , test-framework-quickcheck2
  default-language: Haskell2010