Loading

SIGNUM


operators math
Since v1.0.0
Available on all platforms

The SIGNUM function consumes a numeric parameter from the top of the stack and pushes back its signum.

Since 2.6.0, this function can be applied to a list of numeric values.

Signature

Examples

42 SIGNUM -42 SIGNUM 0 SIGNUM