~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A variety of small tweaks and fixes. Make mpmont etc. return errors
[catacomb]
/
mpbarrett.h
diff --git
a/mpbarrett.h
b/mpbarrett.h
index
85c4a14
..
bb8b36a
100644
(file)
--- a/
mpbarrett.h
+++ b/
mpbarrett.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: mpbarrett.h,v 1.5 2004/04/08 01:36:15 mdw Exp
$
+ * $Id$
*
* Barrett modular reduction
*
*
* Barrett modular reduction
*
@@
-72,13
+72,12
@@
typedef struct mpbarrett {
* Arguments: @mpbarrett *mb@ = pointer to Barrett reduction context
* @mp *m@ = modulus to work to
*
* Arguments: @mpbarrett *mb@ = pointer to Barrett reduction context
* @mp *m@ = modulus to work to
*
- *
- * Returns: ---
+ * Returns: Zero on success, nonzero on error.
*
* Use: Initializes a Barrett reduction context ready for use.
*/
*
* Use: Initializes a Barrett reduction context ready for use.
*/
-extern
void
mpbarrett_create(mpbarrett */*mb*/, mp */*m*/);
+extern
int
mpbarrett_create(mpbarrett */*mb*/, mp */*m*/);
/* --- @mpbarrett_destroy@ --- *
*
/* --- @mpbarrett_destroy@ --- *
*