Add an internal-representation no-op function.
[u/mdw/catacomb] / mpbarrett.h
index d9c02ad..aa1971e 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mpbarrett.h,v 1.1 1999/12/10 23:22:00 mdw Exp $
+ * $Id: mpbarrett.h,v 1.2 2000/10/08 12:03:44 mdw Exp $
  *
  * Barrett modular reduction
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: mpbarrett.h,v $
+ * Revision 1.2  2000/10/08 12:03:44  mdw
+ * (mpbarrett_reduce): Cope with negative numbers.
+ *
  * Revision 1.1  1999/12/10 23:22:00  mdw
  * Barrett reduction support: works with even moduli.
  *
@@ -109,8 +112,7 @@ extern void mpbarrett_destroy(mpbarrett */*mb*/);
  * Returns:    The residue of @m@ modulo the number in the reduction
  *             context.
  *
- * Use:                Performs an efficient modular reduction.  The argument is
- *             assumed to be positive.
+ * Use:                Performs an efficient modular reduction.
  */
 
 extern mp *mpbarrett_reduce(mpbarrett */*mb*/, mp */*d*/, mp */*m*/);