www.delorie.com/gnu/docs/guile/guile_177.html   search  
 
Buy GNU books!


Guile Reference Manual

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

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.

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

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

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


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003