summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2016-08-31 13:00:50 +0000
committeraiju <devnull@localhost>2016-08-31 13:00:50 +0000
commit560ea5474c45b3acaea4c3e2fe112f827bbce297 (patch)
tree5cc2bcebf00152b290849f39a1ab70efad34be62 /sys/man/1
parente95082f66c099184afd273d7fc0a30fd2c5e0ba8 (diff)
pc: add rev function
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/pc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/man/1/pc b/sys/man/1/pc
index d7bbeee14..51ca88a1b 100644
--- a/sys/man/1/pc
+++ b/sys/man/1/pc
@@ -84,6 +84,9 @@ Numbers exactly halfway between are rounded to the next even multiple.
.I xtend(n,m)
\fIn\fR truncated to \fIm\fR bits, with the highest bit interpreted as a sign bit.
.TP
+.I rev(n,m)
+\fIn\fR truncated to \fIm\fR bits, with the order of bits reversed.
+.TP
.I ubits(n)
The minimum number of bits required to represent \fIn\fR as an unsigned number.
.TP