Leonardus
Analogous LeoScript Operator abs

STACK

$ Z\ --\ Z $

DESCRIPTION

Red book operator returns the absolute value of Z. The type of the result is
the same as the type of Z unless Z is the smallest integer, in which case the result is a R.

ORIGIN

Core code registered in systemdict.

CONVERSION

Implicit if I is equal to MIN_INT then conversion takes place I to R