Star Sapphire Common LISP Home

Download Star Saphire
Index

LISP: ZEROP

C: Lzerop

min args: 1

max args: 1

[F][CLTL 12]

SYNOPSIS:

zerop number

DESCRIPTION:

This predicate is true if number is zero (either the integer zero or a floating-point zero) and is false otherwise. Since there are not distinct representations for positive and negative floating-point zeros, (zerop -0.0) is always true. It is an error if the argument is not a number.