-
number => negation
-
minuend {&rest subtrahends^+} => difference
number, minuend, subtrahend---a number.
negation, difference---a number.
The function - performs arithmetic subtraction and negation.
If only one number is supplied, the negation of that number is returned.
If more than one argument is given, it subtracts all of the subtrahends from the minuend and returns the result.
The function - performs necessary type conversions.
(- 55.55) => -55.55 (- #c(3 -5)) => #C(-3 5) (- 0) => 0 (eql (- 0.0) -0.0) => true (- #c(100 45) #c(0 45)) => 100 (- 10 1 2 3 4) => 0
Might signal type-error if some argument is not a number. Might signal arithmetic-error.
section Numeric Operations, section Rational Computations, section Floating-point Computations, section Complex Computations
Go to the first, previous, next, last section, table of contents.