fixnum-mod ( x y -- z ) (original) (raw)

fixnum-mod ( x y -- z )

Vocabulary
math.private

Inputs

x a fixnum
y a fixnum

Outputs

z a fixnum

Word description
Primitive version of mod. The result always fits in a fixnum.

Warning
This word does not perform type checking, and passing objects of the wrong type can crash the runtime. User code should call the generic word mod instead.

Definition

IN: math.private

PRIMITIVE: fixnum-mod ( x y -- z ) foldable flushable