Use @mpx_ueq@ instead of @MPX_UCMP@.
authormdw <mdw>
Sun, 8 Oct 2000 12:11:01 +0000 (12:11 +0000)
committermdw <mdw>
Sun, 8 Oct 2000 12:11:01 +0000 (12:11 +0000)
mpx-kmul.c
mpx-ksqr.c

index 2a7f60c..eaa0848 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mpx-kmul.c,v 1.5 2000/07/29 17:04:02 mdw Exp $
+ * $Id: mpx-kmul.c,v 1.6 2000/10/08 12:11:01 mdw Exp $
  *
  * Karatsuba's multiplication algorithm
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: mpx-kmul.c,v $
+ * Revision 1.6  2000/10/08 12:11:01  mdw
+ * Use @mpx_ueq@ instead of @MPX_UCMP@.
+ *
  * Revision 1.5  2000/07/29 17:04:02  mdw
  * Remove useless header `mpscan.h'.
  *
@@ -244,7 +247,7 @@ static int umul(dstr *v)
   ALLOC(s, sl, 2 * m + 32);
 
   mpx_kmul(d, dl, a, al, b, bl, s, sl);
-  if (MPX_UCMP(d, dl, !=, c, cl)) {
+  if (!mpx_ueq(d, dl, c, cl)) {
     fprintf(stderr, "\n*** umul failed\n");
     dumpmp("       a", a, al);
     dumpmp("       b", b, bl);
index e6c40f6..4aa84dd 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mpx-ksqr.c,v 1.4 2000/07/29 17:04:02 mdw Exp $
+ * $Id: mpx-ksqr.c,v 1.5 2000/10/08 12:11:01 mdw Exp $
  *
  * Karatsuba-based squaring algorithm
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: mpx-ksqr.c,v $
+ * Revision 1.5  2000/10/08 12:11:01  mdw
+ * Use @mpx_ueq@ instead of @MPX_UCMP@.
+ *
  * Revision 1.4  2000/07/29 17:04:02  mdw
  * Remove useless header `mpscan.h'.
  *
@@ -207,7 +210,7 @@ static int usqr(dstr *v)
   ALLOC(s, sl, 2 * m + 32);
 
   mpx_ksqr(d, dl, a, al, s, sl);
-  if (MPX_UCMP(d, dl, !=, c, cl)) {
+  if (!mpx_ueq(d, dl, c, cl)) {
     fprintf(stderr, "\n*** usqr failed\n");
     dumpmp("       a", a, al);
     dumpmp("expected", c, cl);