[FIX] SmallInteger class comment
Matthew McNaughton
mcnaught at cs.ualberta.ca
Sun Sep 9 21:53:44 UTC 2001
On Sun, 9 Sep 2001, David N. Smith (IBM) wrote:
> The comment should be fixed. Attached is code to change the comment to:
>
> My instances are 31-bit numbers, stored in twos complement form. The allowable
> range is approximately +- 2 billion (see SmallInteger minVal, maxVal).
>
> (This is another contribution for most trivial bug fix.)
A 31-bit twos-complement number ranges over -+ 1 billion. So you've traded
a fix for another bug. ;)
--
Matthew McNaughton <mcnaught at cs.ualberta.ca>
More information about the Squeak-dev
mailing list
|