SmallInteger



SmallInteger inherits from Integer and defines no instance variables. It has no subclasses.

SmallIntegers are immediate values in the range: -16384..16383.

Internally, SmallIntegers are represented as 15-bit two's-complement integers with the low bit set to 1 (it is set to 0 for object references).

Methods defined in SmallInteger:

Methods for comparing:

Methods for converting:


Pocket Smalltalk Documentation