hinterface-0.1.0.0: Initial project template from stack

Safe HaskellTrustworthy
LanguageHaskell2010

Util.FloatCast

Description

Synopsis

Documentation

floatToWord :: Float -> Word32 Source #

Reinterpret-casts a Float to a Word32.

wordToFloat :: Word32 -> Float Source #

Reinterpret-casts a Word32 to a Float.

doubleToWord :: Double -> Word64 Source #

Reinterpret-casts a Double to a Word64.

wordToDouble :: Word64 -> Double Source #

Reinterpret-casts a Word64 to a Double.