**Category: Language-Data types**

Superclass: Integer- I am the integer class of the GNU Smalltalk system. My instances can represent signed 30 bit integers and are as efficient as possible.

testing (class)

bit arithmetic (instance)

built ins (instance)

builtins (instance)

coercion (instance)

coercion methods (instance)

testing functionality (instance)

Answer the number of bits (excluding the sign) that can be represented directly in an object pointer

**largest**

Answer the largest integer represented directly in an object pointer

**smallest**

Answer the smallest integer represented directly in an object pointer

Answer whether x = y implies x == y for instances of the receiver

Return the index of the highest order 1 bit of the receiver

**lowBit**

Return the index of the lowest order 1 bit of the receiver.

Multiply the receiver and arg and answer another Number

**+ arg**

Sum the receiver and arg and answer another Number

**- arg**

Subtract arg from the receiver and answer another Number

**/ arg**

Divide the receiver by arg and answer another Integer or Fraction

**// arg**

Dividing receiver by arg (with truncation towards -infinity) and answer the result

**< arg**

Answer whether the receiver is less than arg

**<= arg**

Answer whether the receiver is less than or equal to arg

**= arg**

Answer whether the receiver is equal to arg

**== arg**

Answer whether the receiver is the same object as arg

**> arg**

Answer whether the receiver is greater than arg

**>= arg**

Answer whether the receiver is greater than or equal to arg

**\\ arg**

Calculate the remainder of dividing receiver by arg (with truncation towards -infinity) and answer it

**asFloatD**

Convert the receiver to a FloatD, answer the result

**asFloatE**

Convert the receiver to a FloatE, answer the result

**asFloatQ**

Convert the receiver to a FloatQ, answer the result

**asObject**

Answer the object whose index is in the receiver, nil if there is a free object, fail if index is out of bounds

**asObjectNoFail**

Answer the object whose index is in the receiver, or nil if no object is found at that index

**bitAnd: arg**

Do a bitwise AND between the receiver and arg, answer the result

**bitOr: arg**

Do a bitwise OR between the receiver and arg, answer the result

**bitShift: arg**

Shift the receiver by arg places to the left if arg > 0, by arg places to the right if arg < 0, answer another Number

**bitXor: arg**

Do a bitwise XOR between the receiver and arg, answer the result

**divExact: arg**

Dividing receiver by arg assuming that the remainder is zero, and answer the result

**nextValidOop**

Answer the index of the first non-free OOP after the receiver. This is used internally; it is placed here to avoid polluting Object.

**quo: arg**

Dividing receiver by arg (with truncation towards zero) and answer the result

**~= arg**

Answer whether the receiver is not equal to arg

**~~ arg**

Answer whether the receiver is not the same object as arg

Answer the index-th indexed instance variable of the receiver. This method always fails.

**at: anIndex put: value**

Store value in the index-th indexed instance variable of the receiver This method always fails.

**basicAt: anIndex**

Answer the index-th indexed instance variable of the receiver. This method always fails.

**basicAt: anIndex put: value**

Store value in the index-th indexed instance variable of the receiver This method always fails.

**scramble**

Answer the receiver with its bits mixed and matched.

Convert the receiver to a kind of number that is understood by the C call-out mechanism.

Return the receiver's generality

**unity**

Coerce 1 to the receiver's class

**zero**

Coerce 0 to the receiver's class

Answer `true'.