ct.c, ct.h: New constant-time operations.
[u/mdw/catacomb] / mptext.h
index ddd6328..dade3cf 100644 (file)
--- a/mptext.h
+++ b/mptext.h
@@ -1,13 +1,13 @@
 /* -*-c-*-
  *
- * $Id: mptext.h,v 1.7 2004/04/08 01:36:15 mdw Exp $
+ * $Id$
  *
  * Textual representation of multiprecision numbers
  *
  * (c) 1999 Straylight/Edgeware
  */
 
-/*----- Licensing notice --------------------------------------------------* 
+/*----- Licensing notice --------------------------------------------------*
  *
  * This file is part of Catacomb.
  *
  * it under the terms of the GNU Library General Public License as
  * published by the Free Software Foundation; either version 2 of the
  * License, or (at your option) any later version.
- * 
+ *
  * Catacomb is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with Catacomb; if not, write to the Free
  * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
@@ -93,7 +93,7 @@ extern int mp_write(mp */*m*/, int /*radix*/,
  *
  * Returns:    The number of digits needed to represent the number in the
  *             given base.  This will not include space for a leading sign
- *             (use @MP_ISNEG@ to check that, or just add one on for luck);
+ *             (use @MP_NEGP@ to check that, or just add one on for luck);
  *             neither will it add space for a terminating null.  In general
  *             the answer will be an overestimate.
  */
@@ -125,7 +125,7 @@ extern int mp_writefile(mp */*m*/, FILE */*fp*/, int /*radix*/);
   fputc('\n', fp);                                                     \
 } while (0)
 
-#define MP_DOFPRINTR(fp, name, m, r)                                   \
+#define MP_DOFPRINTR(fp, name, m, r)                                   \
   MP_DOFPRINTFR(fp, (fp, "%s = ", name), m, r)
 
 #define MP_PRINT(name, m) MP_DOFPRINTR(stdout, name, m, 10)