Name

neg

Usage

builtin-function

Syntax

(neg number)

Returns the negative of a number.

user 1 > (neg 5)
it: -5
user 2 > (neg #c(2 3))
it: #c(-2 -3)