From: mdw Date: Wed, 17 Nov 1999 18:05:20 +0000 (+0000) Subject: Change memory allocation for division test now that requirements are X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/commitdiff_plain/53f5981ad2e68d1e415dd954b40c2845d2450940 Change memory allocation for division test now that requirements are lower. --- diff --git a/mpx-test.c b/mpx-test.c index caf9bea..a25992b 100644 --- a/mpx-test.c +++ b/mpx-test.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpx-test.c,v 1.1 1999/11/13 01:50:04 mdw Exp $ + * $Id: mpx-test.c,v 1.2 1999/11/17 18:05:20 mdw Exp $ */ #include @@ -295,7 +295,7 @@ static int udiv(dstr *v) LOAD(q, ql, &v[2]); LOAD(r, rl, &v[3]); ALLOC(qq, qql, al - a); - ALLOC(s, sl, 2 * (bl - b) + 2); + ALLOC(s, sl, (bl - b) + 1); mpx_udiv(qq, qql, a, al, b, bl, s, sl); if (MPX_UCMP(qq, qql, !=, q, ql) ||