Next: , Up: syslib numerics   [Index]


12.10.1 Negation negation

Unsafe Operation: $neg-number num

Negate any number object and return the result.

Unsafe Operation: $neg-fixnum fx

Negate a fixnum; return a fixnum or a bignum, the latter when fx is (least-fixnum).

Unsafe Operation: $neg-bignum bn

Negate a bignum; return a bignum or a fixnum, the latter when bn is equal to (- (least-fixnum)).

Unsafe Operation: $neg-flonum fl

Negate a flonum and return the result as a flonum.

Unsafe Operation: $neg-ratnum rt

Negate a ratnum and return the result as a ratnum.

Unsafe Operation: $neg-compnum cn

Negate a compnum and return the result as a compunm.

Unsafe Operation: $neg-cflonum cfl

Negate a cflonum and return the result as cflonum.