neg ( x -- -x )
Factor handbook > The language > Numbers > Mathematical functions > Arithmetic functions

Next:recip ( x -- y )


Vocabulary
math

Inputs and outputs
xa number
-xa number


Word description
Computes a number's additive inverse.

Definition

: neg ( x -- -x ) -1 * ; inline