On Mon, May 28, 2007 at 12:01:18PM +0200, Paolo Bonzini wrote:
> Paolo Bonzini wrote:
> Actually it does not depend on the OS, but rather on the availability of 
> GMP.  It is a stupid off-by-one error in LargeInteger division.  When 
> the result of the division has a number >=128 in its MSB, the result is 
> turned into a negative number.
> 
> The easiest fix is to allocate an extra byte for the result, since 
> #primDivide: is supposed to run on positive numbers only.
> 
> Paolo

I can confirm that With the patch you provided the test suite runs without
any problem on MacOS 10.4.9.

Congratulations Paolo!

Thomas


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to