[Haskell-cafe] 80 bit floating point data in Haskell?

Andrew Coppin andrewcoppin at btinternet.com
Mon Sep 28 03:55:09 EDT 2009

Ross Mellgren wrote:
> What about the built-in Float type?
> Prelude Foreign.Storable> sizeOf (undefined :: Float)
> 4
> Prelude Foreign.Storable> sizeOf (undefined :: Double)
> 8

While we're on the subject... I understand that certain FPUs support 
80-bit precision. Is there any way to get at that? Or is this going to 
require FFI too?

More information about the Haskell-Cafe mailing list