# LongInteger

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

LongIntegers are "boxed" 32-bit signed integers.
Note that many primitives can handle SmallIntegers and LongIntegers polymorphically. When writing your own primitives you should use the C functions is_integer(), as_c_integer(), and as_smalltalk_integer() to operate with integers.
LongIntegers can also be used as boxed C pointers.

## Methods defined in LongInteger:

### Methods for comparing:

- hash

Pocket Smalltalk Documentation