- (minuend subtrahend -- difference)minuend: Value from which the second value is subtracted.subtrahend: Value subtracted from the minuend.difference: Difference value.This builtin accepts whole and real numbers. Both inputs are dereferenced and must be non-NIL. The operands must have the same schema.
0, the result follows the minuend's value and schema.0 and the schema is real, the result preserves the real schema of the subtrahend. If that subtrahend is unknown, the result remains unknown.{} () {} [
unknownReal: 2.5r32 dynamic;
"-- int32 --" printCompilerMessage
10 3 - printStack _:;
7 0 - printStack _:;
"-- zero with unknown real32 --" printCompilerMessage
0.0r32 unknownReal - printStack _:;
"-- real32 --" printCompilerMessage
0.0r32 2.5r32 - printStack _:;
5.0r32 2.5r32 - printStack _:;
] "main" exportFunction
-- int32 --
7
7
-- zero with unknown real32 --
Real32
-- real32 --
-2.5r32
2.5r32
* builtin (multiplicand multiplier -- product) Multiplies two numeric values.+ builtin (left right -- sum) Adds two numeric values./ builtin (dividend divisor -- quotient) Divides numeric values within the same schema; Whole division stays whole, while Real schemas use floating division.mod builtin (dividend divisor -- remainder) Computes the remainder of numeric division; signed Int, unsigned Nat, and Real values each follow their own remainder semantics.neg builtin (value -- negatedValue) Negates a signed Int or Real value and keeps the same schema.