summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-12-30 19:38:10 -0500
committerJune McEnroe <june@causal.agency>2020-12-30 19:38:10 -0500
commit239bad36c1d5468de0752e8d59264358939a0713 (patch)
treefc66228e70eaf305c3f646b2521c4236efb8b3fd /bin/man1
parentSupport unary + in order (diff)
downloadsrc-239bad36c1d5468de0752e8d59264358939a0713.tar.gz
src-239bad36c1d5468de0752e8d59264358939a0713.zip
Add unary & to bit
Also unary + and fix precedence of unary -.
Diffstat (limited to 'bin/man1')
-rw-r--r--bin/man1/bit.15
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/man1/bit.1 b/bin/man1/bit.1
index 06fd182f..b91a10e1 100644
--- a/bin/man1/bit.1
+++ b/bin/man1/bit.1
@@ -27,6 +27,11 @@ The
 .Sy ->
 operator is used for arithmetic shift.
 .It
+The unary
+.Sy &
+operator is equivalent to
+.Sy (1 << x) - 1 .
+.It
 The postfix operators
 .Sy K ,
 .Sy M ,