cereal-0.4.0.1: A binary serialization library

Safe HaskellNone
LanguageHaskell98

Data.Serialize.IEEE754

Contents

Description

Synopsis

IEEE-754 reads

getFloat32le :: Get Float Source

Read a Float in little endian IEEE-754 format

getFloat32be :: Get Float Source

Read a Float in big endian IEEE-754 format

getFloat64le :: Get Double Source

Read a Double in little endian IEEE-754 format

getFloat64be :: Get Double Source

Read a Double in big endian IEEE-754 format

IEEE-754 writes

putFloat32le :: Float -> Put Source

Write a Float in little endian IEEE-754 format

putFloat32be :: Float -> Put Source

Write a Float in big endian IEEE-754 format

putFloat64le :: Double -> Put Source

Write a Double in little endian IEEE-754 format

putFloat64be :: Double -> Put Source

Write a Double in big endian IEEE-754 format