diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-09 21:11:54 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-07-09 21:11:54 +0300 |
commit | e1749c3c853ace06796efd7dd3bd3e9bf025a549 (patch) | |
tree | 7e326a2d99075f6d7617692284f4d62cf06f4736 /doc/awkcard.in | |
parent | 518bcc6e640648717bc5512d3fd5c2bf16d6fec3 (diff) | |
download | egawk-e1749c3c853ace06796efd7dd3bd3e9bf025a549.tar.gz egawk-e1749c3c853ace06796efd7dd3bd3e9bf025a549.tar.bz2 egawk-e1749c3c853ace06796efd7dd3bd3e9bf025a549.zip |
Extend or(), and(), xor() to N arguments, N >= 2.
Diffstat (limited to 'doc/awkcard.in')
-rw-r--r-- | doc/awkcard.in | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/awkcard.in b/doc/awkcard.in index b7d87691..d0c1578a 100644 --- a/doc/awkcard.in +++ b/doc/awkcard.in @@ -1811,10 +1811,9 @@ provides the following functions for doing bitwise operations. .fi .in +.2i .ti -.2i -\*(FCand(\*(FIv1\*(FC, \*(FIv2\*(FC)\*(FR +\*(FCand(\*(FIv1\*(FC, \*(FIv2\*(FR [\*(FC,\*(FR ... ]\*(FC)\*(FR .br -Return the bitwise AND of the values provided by -\*(FIv1\*(FR and \*(FIv2\*(FR. +Return the bitwise AND of the arguments. .ti -.2i \*(FCcompl(\*(FIval\*(FC)\*(FR .br @@ -1826,20 +1825,18 @@ Return the bitwise complement of Return the value of \*(FIval\*(FR, shifted left by \*(FIcount\*(FR bits. .ti -.2i -\*(FCor(\*(FIv1\*(FC, \*(FIv2\*(FC)\*(FR +\*(FCor(\*(FIv1\*(FC, \*(FIv2\*(FR [\*(FC,\*(FR ... ]\*(FC)\*(FR .br -Return the bitwise OR of the values provided by -\*(FIv1\*(FR and \*(FIv2\*(FR. +Return the bitwise OR of the arguments. .ti -.2i \*(FCrshift(\*(FIval\*(FC, \*(FIcount\*(FC)\*(FR .br Return the value of \*(FIval\*(FR, shifted right by \*(FIcount\*(FR bits. .ti -.2i -\*(FCxor(\*(FIv1\*(FC, \*(FIv2\*(FC)\*(FR +\*(FCxor(\*(FIv1\*(FC, \*(FIv2\*(FR [\*(FC,\*(FR ... ]\*(FC)\*(FR .br -Return the bitwise XOR of the values provided by -\*(FIv1\*(FR and \*(FIv2\*(FR.\*(CB +Return the bitwise XOR of the arguments.\*(CB .in -.2i .EB "\s+2\f(HBBIT MANIPULATION FUNCTIONS (\*(GK\f(HB)\*(FR\s0" .sp .6 |