Node:Comparison, Next:, Previous:Integer Operations, Up:Numbers



21.2.8 Comparison Predicates

= Scheme Procedure
Return #t if all parameters are numerically equal.

< Scheme Procedure
Return #t if the list of parameters is monotonically increasing.

> Scheme Procedure
Return #t if the list of parameters is monotonically decreasing.

<= Scheme Procedure
Return #t if the list of parameters is monotonically non-decreasing.

>= Scheme Procedure
Return #t if the list of parameters is monotonically non-increasing.

zero? Scheme Procedure
Return #t if z is an exact or inexact number equal to zero.

positive? Scheme Procedure
Return #t if x is an exact or inexact number greater than zero.

negative? Scheme Procedure
Return #t if x is an exact or inexact number less than zero.