cvs commit: hugs98/src bignums.c

10 Apr
2003
10 Apr
'03
3:07 p.m.
ross 2003/04/10 08:07:33 PDT Modified files: src bignums.c Log: Expand the range of values accepted by fromInteger :: Integer -> Int/Word to toInteger(minBound::Int) .. toInteger(maxBound::Word). This is required to provide the semantics advertised in Data.Int and Data.Word, that conversions (using fromIntegral) between signed and unsigned types preserve representation, not sign. Revision Changes Path 1.10 +12 -33 hugs98/src/bignums.c
8139
Age (days ago)
8139
Last active (days ago)
0 comments
1 participants
participants (1)
-
ross@glass.cse.ogi.edu