Next: Conversion, Previous: Integer Operations, Up: Numbers [Contents][Index]
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.
Return #t
if x is an exact or inexact number greater than
zero.
Return #t
if x is an exact or inexact number less than
zero.