Loading

NEGATEEXACT

math

The NEGATEEXACT function consumes one LONG from the top of the stack and puts back the negated value. If the result overflows a LONG, this function fails.

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

NEGATEEXACT is available since version 1.2.23.

Signatures

Examples

-42 NEGATEEXACT <% MAXLONG -1 * 1 - NEGATEEXACT %> <% ERROR 0 GET 'message' GET %> <% %> TRY