[Haskell-cafe] Re: Float instance of Data.Bits

Nick Bowler nbowler at elliptictech.com
Fri Jul 9 12:54:19 EDT 2010


On 15:32 Fri 09 Jul     , Sam Martin wrote:
> There are plenty of other examples of bit twiddling floats. Floats have
> a well defined bit representation (if a slightly complex one) so it's
> perfectly reasonable to be able to manipulate it.

Note that the Haskell report does not require IEEE 754 binary encodings.
In fact, it permits 'Float' to be a decimal floating point type.

-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)


More information about the Haskell-Cafe mailing list