summary refs log tree commit diff
path: root/bin/man1/bit.1
diff options
context:
space:
mode:
Diffstat (limited to 'bin/man1/bit.1')
-rw-r--r--bin/man1/bit.112
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/man1/bit.1 b/bin/man1/bit.1
index b61bc704..b91a10e1 100644
--- a/bin/man1/bit.1
+++ b/bin/man1/bit.1
@@ -1,4 +1,4 @@
-.Dd June 7, 2019
+.Dd December 30, 2020
 .Dt BIT 1
 .Os
 .
@@ -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 ,
@@ -34,6 +39,11 @@ The postfix operators
 .Sy T
 are used as constant multipliers.
 .It
+The postfix operator
+.Sy $
+is of lowest precedence and is equivalent to
+wrapping the preceding expression in parentheses.
+.It
 Single-letter (lower case) variables
 can be assigned.
 The variable