From c90601009dab74affc0419fa75452a9cf6c97809 Mon Sep 17 00:00:00 2001 From: mdw Date: Sun, 8 Oct 2000 12:11:01 +0000 Subject: [PATCH] Use @mpx_ueq@ instead of @MPX_UCMP@. --- mpx-kmul.c | 7 +++++-- mpx-ksqr.c | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/mpx-kmul.c b/mpx-kmul.c index 2a7f60c..eaa0848 100644 --- a/mpx-kmul.c +++ b/mpx-kmul.c @@ -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); diff --git a/mpx-ksqr.c b/mpx-ksqr.c index e6c40f6..4aa84dd 100644 --- a/mpx-ksqr.c +++ b/mpx-ksqr.c @@ -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); -- 2.11.0