projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c306848
)
Clarify (lognot bignum)
author
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 31 Jul 2019 13:56:14 +0000
(06:56 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Wed, 31 Jul 2019 14:00:12 +0000
(07:00 -0700)
* doc/lispref/numbers.texi (Bitwise Operations):
Say that (= (lognot n) (- -1 n)).
doc/lispref/numbers.texi
patch
|
blob
|
history
diff --git
a/doc/lispref/numbers.texi
b/doc/lispref/numbers.texi
index cae8babcb40bf0e3b8ac9521f26d26b32dfb2216..0c71387a8a72c6fab01204354d83d580ae952fb9 100644
(file)
--- a/
doc/lispref/numbers.texi
+++ b/
doc/lispref/numbers.texi
@@
-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)