diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-07-31 06:56:14 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-07-31 07:00:12 -0700 |
commit | 495d0667fcf4df9f10c261684162c64f08aadd71 (patch) | |
tree | d5c23793aa3c6a965d68647af24136fb344a6cf8 /doc/lispref/numbers.texi | |
parent | c306848c0fe830127ee8d4fd936f17f341ad179b (diff) | |
download | emacs-495d0667fcf4df9f10c261684162c64f08aadd71.tar.gz |
Clarify (lognot bignum)
* doc/lispref/numbers.texi (Bitwise Operations):
Say that (= (lognot n) (- -1 n)).
Diffstat (limited to 'doc/lispref/numbers.texi')
-rw-r--r-- | doc/lispref/numbers.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi index cae8babcb40..0c71387a8a7 100644 --- 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) |