diff options
author | Marc Glisse <marc.glisse@inria.fr> | 2021-05-08 19:34:05 +0200 |
---|---|---|
committer | Marc Glisse <marc.glisse@inria.fr> | 2021-05-08 19:34:05 +0200 |
commit | c6db6991de7726c2180124c18fbc536407a74338 (patch) | |
tree | fadbcbdd7933b8ea385c72b238c5dc4616982c7d /doc | |
parent | be7944e67a43e16598f7f3fcda2a1a2f03283202 (diff) | |
download | gmp-c6db6991de7726c2180124c18fbc536407a74338.tar.gz |
doc: Mention shifts in bit manipulation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gmp.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/gmp.texi b/doc/gmp.texi index 70672f34a..0a51693e2 100644 --- a/doc/gmp.texi +++ b/doc/gmp.texi @@ -3875,6 +3875,9 @@ Complement bit @var{bit_index} in @var{rop}. Test bit @var{bit_index} in @var{op} and return 0 or 1 accordingly. @end deftypefun +Shifting is also possible using multiplication (@ref{Integer Arithmetic}) and +division (@ref{Integer Division}), in particular the @code{2exp} functions. + @node I/O of Integers, Integer Random Numbers, Integer Logic and Bit Fiddling, Integer Functions @comment node-name, next, previous, up @section Input and Output Functions |