diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2018-07-23 00:05:25 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-07-23 00:07:02 -0700 |
commit | 109cb1520c690038d387aa290bb03261f7c5a1f6 (patch) | |
tree | 75fd79ee186e33c4df6a54036f20287c63849f9a /doc/lispref/numbers.texi | |
parent | 216b9b2dbff4cd6843d988c1e2df81b1e02a52fd (diff) | |
download | emacs-109cb1520c690038d387aa290bb03261f7c5a1f6.tar.gz emacs-109cb1520c690038d387aa290bb03261f7c5a1f6.tar.bz2 emacs-109cb1520c690038d387aa290bb03261f7c5a1f6.zip |
positive → nonnegative doc fixes
* doc/lispref/numbers.texi (Bitwise Operations)
(Math Functions):
* doc/lispref/strings.texi (Formatting Strings):
* src/editfns.c (Fformat):
Correct “positive” with “nonnegative” in some documentation.
Diffstat (limited to 'doc/lispref/numbers.texi')
-rw-r--r-- | doc/lispref/numbers.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lispref/numbers.texi b/doc/lispref/numbers.texi index 70bb1030411..14d5059ffb3 100644 --- a/doc/lispref/numbers.texi +++ b/doc/lispref/numbers.texi @@ -853,7 +853,7 @@ reproducing the same pattern moved over. bits in @var{integer1} to the left @var{count} places, or to the right if @var{count} is negative, bringing zeros into the vacated bits. If @var{count} is negative, @code{lsh} shifts zeros into the leftmost -(most-significant) bit, producing a positive result even if +(most-significant) bit, producing a nonnegative result even if @var{integer1} is negative. Contrast this with @code{ash}, below. Here are two examples of @code{lsh}, shifting a pattern of bits one @@ -1233,7 +1233,7 @@ returns a NaN. @defun expt x y This function returns @var{x} raised to power @var{y}. If both -arguments are integers and @var{y} is positive, the result is an +arguments are integers and @var{y} is nonnegative, the result is an integer; in this case, overflow causes truncation, so watch out. If @var{x} is a finite negative number and @var{y} is a finite non-integer, @code{expt} returns a NaN. |