[Haskell-cafe] question about Data.Binary and Double instance

Ian Lynagh igloo at earth.li
Sun Apr 22 17:36:17 EDT 2007

On Wed, Apr 18, 2007 at 09:12:30PM -0700, David Roundy wrote:
> I just want to read in a file full of Doubles (written in binary format
> from C++)

Note that if you write double's from C++ then you need to read CDoubles
in Haskell and then realToFrac them (which will presumably be optimised
out in practice).

Or alternatively you can work with HsDouble's in C++.


More information about the Haskell-Cafe mailing list