diff options
author | panne <unknown> | 2000-05-12 20:01:28 +0000 |
---|---|---|
committer | panne <unknown> | 2000-05-12 20:01:28 +0000 |
commit | a69d07dab4da24816eb78f651c9be7faef9f0c08 (patch) | |
tree | e16c32b8fd137117e95af5250bad03ed031f114f /ghc/lib/std/cbits/openFile.c | |
parent | cd4941d391f3869324cfe5b894cb126d285e616e (diff) | |
download | haskell-a69d07dab4da24816eb78f651c9be7faef9f0c08.tar.gz |
[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! :-)
Diffstat (limited to 'ghc/lib/std/cbits/openFile.c')
0 files changed, 0 insertions, 0 deletions