I'm looking for a (not-necessarily Haskell 98 compliant, as long as it
works in GHC) way to get at the internal representation of Doubles.  I can
use decodeDouble# to get at it, but I need something equivalent to
encodeDouble# to go the other way, and I cannot find such a function
anywhere.  Any suggestions are welcome (yes, I know I can use show and
read, but I'm looking for something which will keep the # of bytes down).

 - Hal

--
Hal Daume III

 "Computer science is no more about computers    | [EMAIL PROTECTED]
  than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to