GNU Info

Info Node: (librep.info)Numeric Predicates

(librep.info)Numeric Predicates


Next: Random Numbers Prev: Bitwise Functions Up: Numbers
Enter node , (file) or (file)node

Numeric Predicates
------------------

   For the documentation of the functions `=', `/=', `>', `<', `>=',
`<=', `max' and `min', see Note: Comparison Predicates.

 - Function: exactp object
     Returns true when OBJECT is an exact number.

 - Function: inexactp object
     Returns true when OBJECT is an inexact number.

 - Function: integerp object
     Returns true when OBJECT is an integer.

 - Function: rationalp object
     Returns true when OBJECT is a rational number (including integers).

 - Function: realp object
     Returns true when OBJECT is a real number.

 - Function: oddp x
     Return true if X is an odd number.

 - Function: evenp x
     Return true if X is an even number.

 - Function: positivep x
     Return true if X is a number greater than zero.

 - Function: negativep x
     Return true if X is a number less than zero.

 - Function: zerop x
     Returns true if X is equal to zero.


automatically generated by info2www version 1.2.2.9