Safe Haskell | None |
---|---|
Language | Haskell2010 |
IEEE754 floating-point numbers
Synopsis
- type Float32 = Float
- type Float64 = Double
- float32ToWord32 :: Float32 -> Word32
- float64ToWord64 :: Float64 -> Word64
- word32ToFloat32 :: Word32 -> Float32
- word64ToFloat64 :: Word64 -> Float64
Documentation
float32ToWord32 :: Float32 -> Word32 Source #
Convert a Float32 into a Word32
float64ToWord64 :: Float64 -> Word64 Source #
Convert a Word64 into a Float64
word32ToFloat32 :: Word32 -> Float32 Source #
Convert a Word32 into a Float32
word64ToFloat64 :: Word64 -> Float64 Source #
Convert a Word64 into a Float64