Clarify (lognot bignum)
* doc/lispref/numbers.texi (Bitwise Operations): Say that (= (lognot n) (- -1 n)).
This commit is contained in:
parent
c306848c0f
commit
495d0667fc
1 changed files with 2 additions and 1 deletions
|
@ -1072,7 +1072,8 @@ result is 0, which is an identity element for this operation. If
|
|||
@defun lognot integer
|
||||
This function returns the bitwise complement of its argument: the @var{n}th
|
||||
bit is one in the result if, and only if, the @var{n}th bit is zero in
|
||||
@var{integer}, and vice-versa.
|
||||
@var{integer}, and vice-versa. The result equals @minus{}1 @minus{}
|
||||
@var{integer}.
|
||||
|
||||
@example
|
||||
(lognot 5)
|
||||
|
|
Loading…
Add table
Reference in a new issue