Next: syslib numerics add1, Previous: syslib numerics neg, Up: syslib numerics [Index]
If the operand is zero: the following operations raise an exception.
Compute the inverse of any number object and return the result.
Compute the inverse of a fixnum and return the result as a fixnum or
ratnum. A fixnum is returned if fx is +1
or -1
.
Compute the inverse of a bignum and return the result as a ratnum.
Compute the inverse of a flonum and return the result as a flonum.
Compute the inverse of a ratnum and return the result as a fixnum,
bignum or ratnum. A fixnum or bignum is returned when the numerator of
rt is +1
or -1
.
Compute the inverse of a compnum and return the result as a compnum or cflonum.
Compute the inverse of a cflonum and return the result as a cflonum.