[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.2.3 Numerical comparison

Function: = z1 z2 z3 ...
[R5RS] If all the numbers z are equal, returns #t.

 
(= 2 2)          => #t
(= 2 3)          => #f
(= 2 2.0)        => #t
(= 2 2.0 2.0+0i) => #t

Function: < x1 x2 x3 ...
Function: <= x1 x2 x3 ...
Function: > x1 x2 x3 ...
Function: >= x1 x2 x3 ...
[R5RS] Returns #t If all the real numbers x are monotonically increasing, monotonically nondecreasing, monotonically decreasing, or monotonically nonincreasing, respectively.

Function: max x1 x2 ...
Function: min x1 x2 ...
[R5RS] Returns a maximum or minimum number in the given real numbers, respectively.

Function: min&max x1 x2 ...
Returns a maximum and minimum number in the given real numbers.



This document was generated by Ken Dickey on November, 28 2002 using texi2html