[project @ 2000-05-12 20:01:28 by panne]
authorpanne <unknown>
Fri, 12 May 2000 20:01:28 +0000 (20:01 +0000)
committerpanne <unknown>
Fri, 12 May 2000 20:01:28 +0000 (20:01 +0000)
commita69d07dab4da24816eb78f651c9be7faef9f0c08
treee16c32b8fd137117e95af5250bad03ed031f114f
parentcd4941d391f3869324cfe5b894cb126d285e616e
[project @ 2000-05-12 20:01:28 by panne]
Fixed bug in integerTo{Word,Int}64zh primops: They used the number of
allocated *words* to determine size of an integer, but this is wrong
due to normalization. When e.g. two large numbers with different sign,
but approximately same absolute value are added, MPN_NORMALIZE cuts
down the *size*, but the allocation stays the same. Simple fix: Use
size parameter of macros directly. Easier and more correct! :-)
ghc/includes/PrimOps.h