aboutsummaryrefslogtreecommitdiff
path: root/man/man3/mp.3
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-03 06:40:20 +0000
committerrsc <devnull@localhost>2005-01-03 06:40:20 +0000
commit058b0118a52061ad57694c01fc8763b22b789c4d (patch)
tree6685f04dea5ed68edaa34998c976aed34c55fe94 /man/man3/mp.3
parent2600337aa704efbeba8201e88147a764b4fd2b90 (diff)
downloadplan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.gz
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.tar.bz2
plan9port-058b0118a52061ad57694c01fc8763b22b789c4d.zip
Some man pages.
Diffstat (limited to 'man/man3/mp.3')
-rw-r--r--man/man3/mp.310
1 files changed, 8 insertions, 2 deletions
diff --git a/man/man3/mp.3 b/man/man3/mp.3
index 420f0ba6..9a4ed848 100644
--- a/man/man3/mp.3
+++ b/man/man3/mp.3
@@ -1,7 +1,6 @@
.TH MP 3
.SH NAME
-
-mpsetminbits, mpnew, mpfree, mpbits, mpnorm, mpcopy, mpassign, mprand, strtomp, mpfmt,mptoa, betomp, mptobe, letomp, mptole, mptoui, uitomp, mptoi, itomp, uvtomp, mptouv, vtomp, mptov, mpdigdiv, mpadd, mpsub, mpleft, mpright, mpmul, mpexp, mpmod, mpdiv, mpcmp, mpextendedgcd, mpinvert, mpsignif, mplowbits0, mpvecdigmuladd, mpvecdigmulsub, mpvecadd, mpvecsub, mpveccmp, mpvecmul, mpmagcmp, mpmagadd, mpmagsub, crtpre, crtin, crtout, crtprefree, crtresfree \- extended precision arithmetic
+mpsetminbits, mpnew, mpfree, mpbits, mpnorm, mpcopy, mpassign, mprand, strtomp, mpfmt,mptoa, betomp, mptobe, letomp, mptole, mptoui, uitomp, mptoi, itomp, uvtomp, mptouv, vtomp, mptov, mpdigdiv, mpadd, mpsub, mpleft, mpright, mpmul, mpexp, mpmod, mpdiv, mpcmp, mpextendedgcd, mpinvert, mpsignif, mplowbits0, mpvecdigmuladd, mpvecdigmulsub, mpvecadd, mpvecsub, mpveccmp, mpvecmul, mpmagcmp, mpmagadd, mpmagsub, crtpre, crtin, crtout, crtprefree, crtresfree, mpfactorial \- extended precision arithmetic
.SH SYNOPSIS
.B #include <u.h>
.br
@@ -163,6 +162,9 @@ void crtprefree(CRTpre *cre)
void crtresfree(CRTres *res)
.PP
.B
+mpint* mpfactorial(ulong n)
+.PP
+.B
mpint *mpzero, *mpone, *mptwo
.SH DESCRIPTION
.PP
@@ -573,5 +575,9 @@ free
and
.I CRTres
structures respectively.
+.PP
+.I Mpfactorial
+returns the factorial of
+.IR n .
.SH SOURCE
.B /usr/local/plan9/src/libmp