name:                floating-bits
version:             0.1.0.0
synopsis:            Conversions between floating and integral values.
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:          anselm.scholl@tu-harburg.de
copyright:           (c) 2015 Anselm Jonas Scholl
category:            Data
build-type:          Simple
cabal-version:       >=1.10

library
  exposed-modules:     Data.Bits.Floating
  c-sources:           cbits/PrimOps.cmm
  other-extensions:    ForeignFunctionInterface, MagicHash, GHCForeignImportPrim, UnliftedFFITypes
  build-depends:       base >=4.7 && < 5
  hs-source-dirs:      src
  default-language:    Haskell2010