-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfloating-bits.cabal
59 lines (56 loc) · 2.37 KB
/
floating-bits.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
55
56
57
58
59
name: floating-bits
version: 0.3.1.0
synopsis: Bitwise accurate floating point conversion, and Unit of Lease Precision calculation.
description: A small library to cast floating point values to integral values and back preserving the bit-pattern.
license: BSD3
license-file: LICENSE
author: Anselm Jonas Scholl
maintainer: Julia Longtin <[email protected]>
copyright: (c) 2015 Anselm Jonas Scholl, (c) 2023 Julia Longtin
category: Data
build-type: Simple
cabal-version: >=1.10
library
exposed-modules:
Data.Bits.Floating
Data.Bits.Floating.Ulp
Data.Bits.Floating.Prim
c-sources: cbits/PrimOps.cmm
other-extensions: ForeignFunctionInterface,
MagicHash,
GHCForeignImportPrim,
UnliftedFFITypes,
MultiParamTypeClasses,
FunctionalDependencies,
ScopedTypeVariables,
CPP
build-depends: base >=4.7 && < 5
hs-source-dirs: src
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-incomplete-uni-patterns
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
other-modules: TestUtils
c-sources: cbits/ref.c
cc-options: -fPIC
default-language: Haskell2010
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-incomplete-uni-patterns
ghc-options: -threaded -with-rtsopts=-N
other-extensions: BangPatterns
build-depends: base >= 4.7 && < 5,
floating-bits
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Bench.hs
other-modules: TestUtils
c-sources: cbits/ref.c
cc-options: -fPIC
default-language: Haskell2010
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-incomplete-uni-patterns
ghc-options: -threaded -with-rtsopts=-N
build-depends: base >= 4.7 && < 5,
floating-bits,
criterion