/* -*-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
*
/*----- 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.
*
* 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*/);