summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2017-04-02 14:47:23 +0000
committeraiju <devnull@localhost>2017-04-02 14:47:23 +0000
commite09adf59442cd36888eaea1d76e66ff3259d16b8 (patch)
tree53fa8e7631019a787afd920b522eb98bcd587ba7 /sys/man
parente0087b2a78d7229d8d2b148b8def688be6639797 (diff)
pc(1): fix memory leak and add clog() function
Diffstat (limited to 'sys/man')
-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 9c86eba9a..a3926f19c 100644
--- a/sys/man/1/pc
+++ b/sys/man/1/pc
@@ -105,6 +105,9 @@ Truncate each of the \fIa\d\s7i\s0\u\fR arguments to \fIn\d\s7i\s0\u\fR bits and
.I gcd(n,m)
The greatest common divisor of \fIn\fR and \fIm\fR.
.TP
+.I clog(a,b)
+The ceiling of the logarithm of \fIa\fR with respect to base \fIb\fR. \fIb\fR can be omitted, in which case it defaults to 2.
+.TP
.I minv(n,m)
The inverse of \fIn\fR mod \fIm\fR.
.TP