Bug in Integer?
Travis or Kerrin Griggs
tkc at bmi.net
Tue Sep 8 04:32:28 UTC 1998
Folks,
Try the following (in 2.1)...
-4 / 1000000000000000
It blows up when it tries to find the gcd: of -4 and 1000000000000000.
Something about negative numbers having no high bit which breaks the
quo: implementation, which all looks suspiciously like something related
to this big thread a couple of months back about twos complements of
negative numbers and related bitwise operations.
Did we "fix" something a little too much here? :)
Travis Griggs
More information about the Squeak-dev
mailing list
|