Actually, this is a good question, at least as relating to floating
point values. Is there a primitive to view the machine representation
of floats?
I'm thinking of functions like:
reinterpretFloatAsWord :: Float - Word32
reinterpretWordAsFloat :: Word32 - Float
reinterpretDoubleAsWord ::
Ryan Ingram [EMAIL PROTECTED] wrote in article [EMAIL PROTECTED] in
gmane.comp.lang.haskell.cafe:
Actually, this is a good question, at least as relating to floating
point values. Is there a primitive to view the machine representation
of floats?
Not a primitive, but it can be defined:
On Wed, Oct 29, 2008 at 7:58 PM, Ryan Ingram [EMAIL PROTECTED] wrote:
Actually, this is a good question, at least as relating to floating
point values. Is there a primitive to view the machine representation
of floats?
This isn't the first time this issue has come up on this mailing list.
I