Name

neg

Usage

builtin-function

Syntax

(neg number)

Returns the negative of a number.

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