Next: Scientific, Previous: Complex, Up: Numbers
Return the sum of all parameter values. Return 0 if called without any parameters.
If called with one argument z1, -z1 is returned. Otherwise the sum of all but the first argument are subtracted from the first argument.
Return the product of all arguments. If called without arguments, 1 is returned.
Divide the first argument by the product of the remaining arguments. If called with one argument z1, 1/z1 is returned.
Return the absolute value of x.
x must be a number with zero imaginary part. To calculate the magnitude of a complex number, use
magnitudeinstead.
For the truncate and round procedures, the Guile library
exports equivalent C functions, but taking and returning arguments of
type double rather than the usual SCM.
For floor and ceiling, the equivalent C functions are
floor and ceil from the standard mathematics library
(which also take and return double arguments).