Copyright | (C) 2015 Anselm Jonas Scholl |
---|---|
License | BSD3 |
Maintainer | Anselm Jonas Scholl <anselm.scholl@tu-harburg.de> |
Stability | experimental |
Portability | GHC-specific |
Safe Haskell | None |
Language | Haskell2010 |
Conversions between floating point values and integral values preserving the bit-patterns.
- double2WordBitwise :: Double -> Word64
- word2DoubleBitwise :: Word64 -> Double
- float2WordBitwise :: Float -> Word32
- word2FloatBitwise :: Word32 -> Float
Documentation
double2WordBitwise :: Double -> Word64 Source
word2DoubleBitwise :: Word64 -> Double Source
float2WordBitwise :: Float -> Word32 Source