Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
Sven Panne's avatar
sven.panne@aedion.de authored
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! :-)
a69d07da
History
Name Last commit Last update