
ANSI Common Lisp 12 Numbers 12.2 Dictionary of Numbers
 Syntax:

logtest
integer1 integer2
generalizedboolean
 Arguments and Values:

integer1  an integer.
integer2  an integer.
generalizedboolean  a generalized boolean.
 Description:

Returns true if any of the bits designated by the 1's
in integer1 is 1 in integer2;
otherwise it is false.
integer1 and integer2 are treated as if they were binary.
Negative integer1 and integer2 are treated as if
they were represented in two'scomplement binary.
 Examples:

(logtest 1 7) true
(logtest 1 2) false
(logtest 2 1) true
(logtest 0 1) false
 Exceptional Situations:

Should signal an error of type typeerror if integer1 is not an integer.
Should signal an error of type typeerror if integer2 is not an integer.
 Notes:

(logtest x y) ==(not (zerop (logand x y)))
 Allegro CL Implementation Details:

None.
