What resources does Scheme provide for testing integers and determining their attributes?
Apart from the type predicate integer?, there are comparisons
(equality, greater-than, and the like) and predicates that test the sign of
an integer (positive, negative, or zero) and its parity (even or odd).
Here's the full list:
Next topic
Previous topic
Table of contents
This document is available on the World Wide Web as
http://www.math.grin.edu/~stone/scheme-web/integer-predicates.html