summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2016-09-15 08:51:59 +0000
committeraiju <devnull@localhost>2016-09-15 08:51:59 +0000
commit07284c41f6c4ca6b48e0a6ef389d867bdba2bb57 (patch)
tree2012482b1f156216d8cb11308e8c9df874334b97 /sys/man/1
parent7bcbef11eb17d0b5f756acd74762d1a285aa134f (diff)
pc(1): add nsa() command
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 51444968f..90534e243 100644
--- a/sys/man/1/pc
+++ b/sys/man/1/pc
@@ -93,6 +93,9 @@ The minimum number of bits required to represent \fIn\fR as an unsigned number.
.I sbits(n)
The minimum number of bits required to represent \fIn\fR as an signed number.
.TP
+.I nsa(n)
+The number of bits set in \fIn\fR.
+.TP
.I cat(a\d\s70\s0\u,n\d\s70\s0\u,...,a\d\s7N\s0\u,n\d\s7N\s0\u)
Truncate each of the \fIa\d\s7i\s0\u\fR arguments to \fIn\d\s7i\s0\u\fR bits and concatenate their binary representation.
.TP