Next: , Previous: , Up: SmallInteger   [Index]

#### 1.155.4 SmallInteger: built ins

* arg

+ arg

- arg

/ arg

// arg

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

< arg

<= arg

= arg

== arg

> arg

>= arg

\\ arg

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

asFloatD

asFloatE

asFloatQ

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