
29 Nov
2012
29 Nov
'12
5:02 p.m.
On Thu, Nov 29, 2012 at 2:01 PM, Daniel Fischer
On Donnerstag, 29. November 2012, 13:40:42, Johan Tibell wrote:
word2Double :: Word -> Double word2Double (W# w) = D# (int2Double# (word2Int# w))
On my (64-bit) machine the Haskell and C versions are on par.
Yes, but the result is very different.
Doh, I guess I didn't look at the output carefully enough.