forked from ekmett/rounded
-
Notifications
You must be signed in to change notification settings - Fork 1
/
haskell-mpfr.cabal
54 lines (46 loc) · 1.7 KB
/
haskell-mpfr.cabal
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
name: haskell-mpfr
version: 0.1
synopsis: Correctly-rounded arbitrary-precision floating-point arithmetic
homepage: http://github.com/comius/haskell-mpfr
bug-reports: http://github.com/comius/haskell-mpfr/issues
license: LGPL
license-file: LICENSE
author: Edward A. Kmett, Daniel G. Peebles, Ivo List
maintainer: Ivo List <[email protected]>
copyright: Copyright (C) 2012-2015 Edward A. Kmett, Daniel G. Peebles, Ivo List
category: Numeric, Math
build-type: Custom
cabal-version: >= 1.22
tested-with:
GHC == 7.8.1,
GHC == 7.8.4
description:
This package imports functions from MPFR to Haskell in the same way as GMP is alreay imported.
This package should link correctly on either MacOS X or Linux with GHC 7.8.1 or later.
.
extra-source-files: cbits/mkMpfrDerivedConstants.c
source-repository head
type: git
location: git://github.com/comius/haskell-mpfr.git
library
exposed-modules:
Data.Approximate.MPFRLowLevel,
Data.Approximate.MPFR.Types
build-depends:
base >= 4.7 && < 5,
ghc-prim,
integer-gmp >= 0.2 && < 0.6
ghc-options: -Wall -O2 -fspec-constr -funbox-strict-fields
c-sources: cbits/mpfr-wrappers.cmm
include-dirs: src
hs-source-dirs: src
default-language: Haskell2010
Test-Suite test-reals
type: exitcode-stdio-1.0
main-is: HTFTestMPFR.hs
build-depends: Cabal >= 1.22.1.1
, base
, haskell-mpfr >= 0.1
, HTF
hs-source-dirs: testsuite/tests
default-language: Haskell2010