Next: , Previous: , Up: syslib flonums   [Index]


12.6.3 Arithmetic operations

Unsafe Operation: $fl+ fl1 fl2 fl
Unsafe Operation: $fl* fl1 fl2 fl
Unsafe Operation: $fl/ fl1 fl2 fl

Perform arithmetic operations.

Unsafe Operation: $fl- fl
Unsafe Operation: $fl- fl1 fl2 fl

With one operand: return fl negated. With two operands: subtract the operands and return the result.

Unsafe Operation: $fldiv fl1 fl2
Unsafe Operation: $flmod fl1 fl2
Unsafe Operation: $fldiv0 fl1 fl2
Unsafe Operation: $flmod0 fl1 fl2
Unsafe Operation: $fldiv-and-mod fl1 fl2
Unsafe Operation: $fldiv0-and-mod0 fl1 fl2

Implement the number–theoretic integer divisions.