Positron Compiler Documentation

Positron8 functions

Source: Positron8 Compiler User Manual, PDF page 79

Abs

Returns the absolute value of a signed number.

Dcd

2 n-power decoder of a value.

Decimal Digit Extract '?'

Returns the specified decimal digit of a positive value. Div32 15-bit x 31 bit unsigned divide. (For PBP compatibility only) Exp Return the exponential function of a floating point value. Isqr Returns the Square Root of an integer value.

Ncd

Priority encoder of a 16-bit value. Pow Computes a variable to the power of another.

Sqr

Returns the Square Root of a floating point value.