next up previous contents index
Next: factorial Up: IntegerType Previous: divide,mod,quo,rem   Contents   Index


even?,odd?


Usage

even? a
odd? a


Signature

even?,odd?: % $\to$ Boolean


Parameter Type Description
a % an integer


Returns

even?(a) and odd?(a) return true when a is even, respectively odd, false otherwise.



Manuel Bronstein 2004-06-28