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
#tif all parameters are numerically equal.
Return
#tif the list of parameters is monotonically increasing.
Return
#tif the list of parameters is monotonically decreasing.
Return
#tif the list of parameters is monotonically non-decreasing.
Return
#tif the list of parameters is monotonically non-increasing.
Return
#tif z is an exact or inexact number equal to zero.