Handbook
Glossary
neg ( x -- -x )
Factor handbook
»
The language
»
Numbers
»
Mathematical functions
»
Arithmetic functions
Next:
recip ( x -- y )
Vocabulary
math
Inputs
x
a
number
Outputs
-x
a
number
Word description
Computes a number's additive inverse.
Definition
IN:
math
:
neg
( x -- -x )
-1
*
;
inline