
14 Oct
2005
14 Oct
'05
1:47 p.m.
I must be missing something because I don't think the code below converts a double. Then there's this other bit to consider: intsToDouble (i1,i2) = runST ( do arr <- newDoubleArray (1,2) writeIntArray arr 1 i1 writeIntArray arr 2 i2 readDoubleArray arr 1) I'm just looking for the new syntax, the one above is deprecated. Thanks, Joel On Oct 14, 2005, at 2:31 PM, Ketil Malde wrote:
Uh, what is wrong with divMod?
*Main Data.Word> (10000000000::Word64) `divMod` (2^32) (2,1410065408)