~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pgen/pfilt: Special cases for primality checking.
[catacomb]
/
mpreduce.h
diff --git
a/mpreduce.h
b/mpreduce.h
index
72f27fa
..
48c9e1d
100644
(file)
--- a/
mpreduce.h
+++ b/
mpreduce.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: mpreduce.h,v 1.1 2004/03/27 00:04:46 mdw Exp
$
+ * $Id$
*
* Efficient reduction modulo nice primes
*
*
* Efficient reduction modulo nice primes
*
@@
-27,14
+27,6
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: mpreduce.h,v $
- * Revision 1.1 2004/03/27 00:04:46 mdw
- * Implement efficient reduction for pleasant-looking primes.
- *
- */
-
#ifndef CATACOMB_MPREDUCE_H
#define CATACOMB_MPREDUCE_H
#ifndef CATACOMB_MPREDUCE_H
#define CATACOMB_MPREDUCE_H
@@
-74,12
+66,12
@@
typedef struct mpreduce {
* Arguments: @gfreduce *r@ = structure to fill in
* @mp *x@ = an integer
*
* Arguments: @gfreduce *r@ = structure to fill in
* @mp *x@ = an integer
*
- * Returns:
---
+ * Returns:
Zero for success, nonzero on error.
*
* Use: Initializes a context structure for reduction.
*/
*
* Use: Initializes a context structure for reduction.
*/
-extern
void
mpreduce_create(mpreduce */*r*/, mp */*p*/);
+extern
int
mpreduce_create(mpreduce */*r*/, mp */*p*/);
/* --- @mpreduce_destroy@ --- *
*
/* --- @mpreduce_destroy@ --- *
*