i
th bit of an integer
Major Section: PROGRAMMING
For a nonnegative integer i
and an integer j
, (logbitp i j)
is the value of the i
th bit in the two's complement
representation of j
.
(Logbitp i j)
has a guard that i
is a nonnegative integer and
j
is an integer.
Logbitp
is a Common Lisp function. See any Common Lisp
documentation for more information.