|
Packit |
785658 |
name: integer-logarithms
|
|
Packit |
785658 |
version: 1.0.2
|
|
Packit |
785658 |
cabal-version: >= 1.10
|
|
Packit |
785658 |
author: Daniel Fischer
|
|
Packit |
785658 |
copyright: (c) 2011 Daniel Fischer
|
|
Packit |
785658 |
license: MIT
|
|
Packit |
785658 |
license-file: LICENSE
|
|
Packit |
785658 |
maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
|
|
Packit |
785658 |
build-type: Simple
|
|
Packit |
785658 |
stability: Provisional
|
|
Packit |
785658 |
homepage: https://github.com/phadej/integer-logarithms
|
|
Packit |
785658 |
bug-reports: https://github.com/phadej/integer-logarithms/issues
|
|
Packit |
785658 |
|
|
Packit |
785658 |
synopsis: Integer logarithms.
|
|
Packit |
785658 |
description:
|
|
Packit |
785658 |
"Math.NumberTheory.Logarithms" and "Math.NumberTheory.Powers.Integer"
|
|
Packit |
785658 |
from the arithmoi package.
|
|
Packit |
785658 |
.
|
|
Packit |
785658 |
Also provides "GHC.Integer.Logarithms.Compat" and
|
|
Packit |
785658 |
"Math.NumberTheory.Power.Natural" modules, as well as some
|
|
Packit |
785658 |
additional functions in migrated modules.
|
|
Packit |
785658 |
|
|
Packit |
785658 |
category: Math, Algorithms, Number Theory
|
|
Packit |
785658 |
|
|
Packit |
785658 |
tested-with :
|
|
Packit |
785658 |
GHC==7.0.4,
|
|
Packit |
785658 |
GHC==7.2.2,
|
|
Packit |
785658 |
GHC==7.4.2,
|
|
Packit |
785658 |
GHC==7.6.3,
|
|
Packit |
785658 |
GHC==7.8.4,
|
|
Packit |
785658 |
GHC==7.10.3,
|
|
Packit |
785658 |
GHC==8.0.2,
|
|
Packit |
785658 |
GHC==8.2.1
|
|
Packit |
785658 |
|
|
Packit |
785658 |
extra-source-files : readme.md changelog.md
|
|
Packit |
785658 |
|
|
Packit |
785658 |
flag integer-gmp
|
|
Packit |
785658 |
description: integer-gmp or integer-simple
|
|
Packit |
785658 |
default: True
|
|
Packit |
785658 |
manual: False
|
|
Packit |
785658 |
|
|
Packit |
785658 |
flag check-bounds
|
|
Packit |
785658 |
description: Replace unsafe array operations with safe ones
|
|
Packit |
785658 |
default: False
|
|
Packit |
785658 |
manual: True
|
|
Packit |
785658 |
|
|
Packit |
785658 |
library
|
|
Packit |
785658 |
default-language: Haskell2010
|
|
Packit |
785658 |
hs-source-dirs: src
|
|
Packit |
785658 |
build-depends:
|
|
Packit |
785658 |
base >= 4.3 && < 4.11,
|
|
Packit |
785658 |
array >= 0.3 && < 0.6,
|
|
Packit |
785658 |
ghc-prim < 0.6
|
|
Packit |
785658 |
if impl(ghc >= 7.10)
|
|
Packit |
785658 |
cpp-options: -DBase48
|
|
Packit |
785658 |
else
|
|
Packit |
785658 |
build-depends: nats >= 1.1 && <1.2
|
|
Packit |
785658 |
|
|
Packit |
785658 |
if flag(integer-gmp)
|
|
Packit |
785658 |
build-depends:
|
|
Packit |
785658 |
integer-gmp < 1.1
|
|
Packit |
785658 |
else
|
|
Packit |
785658 |
build-depends:
|
|
Packit |
785658 |
integer-simple
|
|
Packit |
785658 |
|
|
Packit |
785658 |
exposed-modules:
|
|
Packit |
785658 |
Math.NumberTheory.Logarithms
|
|
Packit |
785658 |
Math.NumberTheory.Powers.Integer
|
|
Packit |
785658 |
Math.NumberTheory.Powers.Natural
|
|
Packit |
785658 |
GHC.Integer.Logarithms.Compat
|
|
Packit |
785658 |
other-extensions:
|
|
Packit |
785658 |
BangPatterns
|
|
Packit |
785658 |
CPP
|
|
Packit |
785658 |
MagicHash
|
|
Packit |
785658 |
|
|
Packit |
785658 |
ghc-options: -O2 -Wall
|
|
Packit |
785658 |
if flag(check-bounds)
|
|
Packit |
785658 |
cpp-options: -DCheckBounds
|
|
Packit |
785658 |
|
|
Packit |
785658 |
source-repository head
|
|
Packit |
785658 |
type: git
|
|
Packit |
785658 |
location: https://github.com/phadej/integer-logarithms
|
|
Packit |
785658 |
|
|
Packit |
785658 |
test-suite spec
|
|
Packit |
785658 |
type: exitcode-stdio-1.0
|
|
Packit |
785658 |
hs-source-dirs: test-suite
|
|
Packit |
785658 |
ghc-options: -Wall
|
|
Packit |
785658 |
main-is: Test.hs
|
|
Packit |
785658 |
default-language: Haskell2010
|
|
Packit |
785658 |
other-extensions:
|
|
Packit |
785658 |
StandaloneDeriving
|
|
Packit |
785658 |
FlexibleContexts
|
|
Packit |
785658 |
FlexibleInstances
|
|
Packit |
785658 |
GeneralizedNewtypeDeriving
|
|
Packit |
785658 |
MultiParamTypeClasses
|
|
Packit |
785658 |
build-depends:
|
|
Packit |
785658 |
base,
|
|
Packit |
785658 |
integer-logarithms,
|
|
Packit |
785658 |
tasty >= 0.10 && < 0.12,
|
|
Packit |
785658 |
tasty-smallcheck >= 0.8 && < 0.9,
|
|
Packit |
785658 |
tasty-quickcheck >= 0.8 && < 0.10,
|
|
Packit |
785658 |
tasty-hunit >= 0.9 && < 0.10,
|
|
Packit |
785658 |
QuickCheck >= 2.10 && < 2.11,
|
|
Packit |
785658 |
smallcheck >= 1.1 && < 1.2
|
|
Packit |
785658 |
if !impl(ghc >= 7.10)
|
|
Packit |
785658 |
build-depends: nats >= 1.1 && <1.2
|
|
Packit |
785658 |
|
|
Packit |
785658 |
other-modules:
|
|
Packit |
785658 |
Math.NumberTheory.LogarithmsTests
|
|
Packit |
785658 |
Math.NumberTheory.TestUtils
|
|
Packit |
785658 |
Orphans
|