Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (36 sloc) 1.3 KB
name: ieee754
version: 0.7.3
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. 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 ==6.12.3
extra-source-files: LICENSE.Tango NEWS cbits/feqrel_source.c
tests/Makefile tests/Tests.hs
flag big_endian
description: Build for a big endian machine. Beware that only
little endian machines have been tested.
default: False
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
if flag(big_endian)
cc-options: -DBIG_ENDIAN
extra-libraries: m