From c8b6342d3c2a167dec16931815926e9e4387e7ef Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 13 Jan 2005 04:49:19 +0000 Subject: Many small edits. --- man/man3/mp.3 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'man/man3/mp.3') diff --git a/man/man3/mp.3 b/man/man3/mp.3 index c4ecb378..f0028c3f 100644 --- a/man/man3/mp.3 +++ b/man/man3/mp.3 @@ -1,6 +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, mpfactorial \- 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, mpfactorial, mpcmp, mpextendedgcd, mpinvert, mpsignif, mplowbits0, mpvecdigmuladd, mpvecdigmulsub, mpvecadd, mpvecsub, mpveccmp, mpvecmul, mpmagcmp, mpmagadd, mpmagsub, crtpre, crtin, crtout, crtprefree, crtresfree \- extended precision arithmetic .SH SYNOPSIS .B #include .br @@ -108,6 +108,9 @@ void mpmod(mpint *b, mpint *m, mpint *remainder) void mpdiv(mpint *dividend, mpint *divisor, mpint *quotient, mpint *remainder) .PP .B +mpint* mpfactorial(ulong n) +.PP +.B int mpcmp(mpint *b1, mpint *b2) .PP .B @@ -162,9 +165,6 @@ void crtprefree(CRTpre *cre) void crtresfree(CRTres *res) .PP .B -mpint* mpfactorial(ulong n) -.PP -.B mpint *mpzero, *mpone, *mptwo .SH DESCRIPTION .PP @@ -441,6 +441,10 @@ Otherwise, .BR "quotient = dividend/divisor" . .BR "remainder = dividend % divisor" . .TP +.I mpfactorial +returns factorial of +.IR n . +.TP .I mpcmp returns -1, 0, or +1 as .I b1 @@ -575,9 +579,5 @@ free and .I CRTres structures respectively. -.PP -.I Mpfactorial -returns the factorial of -.IR n . .SH SOURCE .B \*9/src/libmp -- cgit v1.2.3