Buy the book!
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
The functions in this section test whether the argument is a number or
whether it is a certain sort of number. The functions
floatp can take any type of Lisp object as argument (the
predicates would not be of much use otherwise); but the
predicate requires a number as its argument. See also
31.2 Predicates on Markers.
floatp does not exist in Emacs versions 18 and earlier.
wholenumppredicate (whose name comes from the phrase "whole-number-p") tests to see whether its argument is a nonnegative integer, and returns
nilotherwise. 0 is considered non-negative.
natnump is an obsolete synonym for
nilotherwise. The argument must be a number.
These two forms are equivalent:
(zerop x) ==
(= x 0).
|webmaster donations bookstore||delorie software privacy|
|Copyright © 2003 by The Free Software Foundation||Updated Jun 2003|