1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
cabal-version: >=1.10
name: quote-quot
version: 0.2.1.0
license: BSD3
license-file: LICENSE
copyright: 2020-2022 Andrew Lelechenko
maintainer: andrew.lelechenko@gmail.com
author: Andrew Lelechenko
tested-with: ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.2
homepage: https://github.com/Bodigrim/quote-quot#readme
synopsis: Divide without division
description:
Generate routines for integer division, employing arithmetic
and bitwise operations only, which are __2.5x-3.5x faster__
than 'quot'. Divisors must be known in compile-time and be positive.
category: Math, Numerical
build-type: Simple
extra-source-files:
changelog.md
README.md
source-repository head
type: git
location: https://github.com/Bodigrim/quote-quot
library
exposed-modules: Numeric.QuoteQuot
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -Wcompat
build-depends:
base < 5,
template-haskell >=2.16
test-suite quote-quot-tests
type: exitcode-stdio-1.0
main-is: Test.hs
hs-source-dirs: tests
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts -Wcompat
build-depends:
base,
quote-quot,
tasty,
tasty-quickcheck,
-- wide-word >=0.1.1.2,
-- word24,
template-haskell
benchmark quote-quot-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -Wall -O2 -Wcompat
build-depends:
base,
quote-quot,
tasty-bench >= 0.3,
template-haskell
|