Next: Conversion, Previous: Integer Operations, Up: Numbers
The C comparison functions below always takes two arguments, while the
Scheme functions can take an arbitrary number. Also keep in mind that
the C functions return one of the Scheme boolean values
SCM_BOOL_T
or SCM_BOOL_F
which are both true as far as C
is concerned. Thus, always write scm_is_true (scm_num_eq_p (x,
y))
when testing the two Scheme numbers x
and y
for
equality, for example.
Return
#t
if all parameters are numerically equal.
Return
#t
if the list of parameters is monotonically increasing.
Return
#t
if the list of parameters is monotonically decreasing.
Return
#t
if the list of parameters is monotonically non-decreasing.
Return
#t
if the list of parameters is monotonically non-increasing.
Return
#t
if z is an exact or inexact number equal to zero.