libmp: declare mpfactorial
This commit is contained in:
parent
0a681f38eb
commit
6df3f7bf38
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ int mpcmp(mpint *b1, mpint *b2);
|
|||
/* res = s != 0 ? b1 : b2 */
|
||||
void mpsel(int s, mpint *b1, mpint *b2, mpint *res);
|
||||
|
||||
/* return n! */
|
||||
mpint* mpfactorial(ulong n);
|
||||
|
||||
/* extended gcd return d, x, and y, s.t. d = gcd(a,b) and ax+by = d */
|
||||
void mpextendedgcd(mpint *a, mpint *b, mpint *d, mpint *x, mpint *y);
|
||||
|
||||
|
|
Loading…
Reference in a new issue