File: ieee754.cabal

package info (click to toggle)
haskell-ieee754 0.8.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: haskell: 1,280; ansic: 276; makefile: 18
file content (36 lines) | stat: -rw-r--r-- 1,103 bytes parent folder | download | duplicates (4)
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
name:            ieee754
version:         0.8.0
homepage:        http://github.com/patperry/hs-ieee754
synopsis:        Utilities for dealing with IEEE floating point numbers
description:
    Utilities for dealing with IEEE floating point numbers, ported
    from the Tango math library; approximate and exact equality
    comparisons for general types.
category:        Math
license:         BSD3
license-file:    LICENSE
copyright:       (c) 2011-2016. Patrick Perry <patperry@gmail.com>
author:          Patrick Perry
maintainer:      Patrick Perry <patperry@gmail.com>
cabal-version: >= 1.2.0
build-type:      Simple
tested-with:     GHC ==7.6.3

extra-source-files: LICENSE.Tango CHANGELOG cbits/feqrel_source.c
                    tests/Makefile tests/Tests.hs

library
    exposed-modules: Data.AEq
                     Numeric.IEEE

    extensions:      FlexibleInstances
                     ForeignFunctionInterface

    build-depends:   base >= 3 && < 5
    ghc-options:     -Wall


    c-sources:       cbits/float.c
                     cbits/double.c

    cc-options:      -Wall --std=c99