File: integer-roots.cabal

package info (click to toggle)
haskell-integer-roots 1.0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 264 kB
  • sloc: haskell: 1,591; makefile: 3
file content (68 lines) | stat: -rw-r--r-- 2,317 bytes parent folder | download
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
62
63
64
65
66
67
68
name:          integer-roots
version:       1.0.4.0
cabal-version: >=1.10
build-type:    Simple
license:       MIT
license-file:  LICENSE
copyright:     (c) 2011 Daniel Fischer, 2016-2021 Andrew Lelechenko.
maintainer:    Andrew Lelechenko andrew dot lelechenko at gmail dot com
homepage:      https://github.com/Bodigrim/integer-roots
bug-reports:   https://github.com/Bodigrim/integer-roots/issues
synopsis:      Integer roots and perfect powers
description:   Calculating integer roots and testing perfect powers of arbitrary precision. Originally part of <https://hackage.haskell.org/package/arithmoi arithmoi> package.
category:      Math, Algorithms, Number Theory
author:        Daniel Fischer, Andrew Lelechenko
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.7
               GHC ==9.0.2 GHC ==9.2.8 GHC ==9.4.8 GHC ==9.6.7 GHC ==9.8.4 GHC ==9.10.3
               GHC ==9.12.2 GHC ==9.14.1
extra-source-files:
  changelog.md
  README.md

source-repository head
  type: git
  location: https://github.com/Bodigrim/integer-roots

library
  build-depends:
    base >=4.9 && <5
  if impl(ghc < 9.0)
    build-depends: integer-gmp <1.2
  else
    build-depends: ghc-bignum < 1.5
  exposed-modules:
    Math.NumberTheory.Roots
  other-modules:
    Math.NumberTheory.Primes.Small
    Math.NumberTheory.Roots.Cubes
    Math.NumberTheory.Roots.Fourth
    Math.NumberTheory.Roots.General
    Math.NumberTheory.Roots.Squares
    Math.NumberTheory.Roots.Squares.Internal
    Math.NumberTheory.Utils.BitMask
    Math.NumberTheory.Utils.FromIntegral
  default-language: Haskell2010
  ghc-options: -Wall -Widentities -Wcompat

test-suite integer-roots-tests
  build-depends:
    base >=4.9 && <5,
    integer-roots,
    QuickCheck,
    smallcheck >=1.2 && <1.3,
    tasty >=0.10,
    tasty-hunit >=0.9 && <0.11,
    tasty-quickcheck >=0.9 && <0.12,
    tasty-smallcheck >=0.8 && <0.9
  other-modules:
    Math.NumberTheory.Roots.CubesTests
    Math.NumberTheory.Roots.FourthTests
    Math.NumberTheory.Roots.GeneralTests
    Math.NumberTheory.Roots.SquaresTests
    Math.NumberTheory.TestUtils
    Math.NumberTheory.TestUtils.Wrappers
  type: exitcode-stdio-1.0
  main-is: Test.hs
  default-language: Haskell2010
  hs-source-dirs: test-suite
  ghc-options: -Wall -Widentities -Wcompat