From: ceriel Date: Thu, 13 Jul 1989 11:18:02 +0000 (+0000) Subject: exponent was wrong in divide routine; corrected X-Git-Tag: release-5-5~2336 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b07825aee34f05e254cc5409a37bf4e353fa56ef;p=ack.git exponent was wrong in divide routine; corrected --- diff --git a/modules/src/flt_arith/flt_div.c b/modules/src/flt_arith/flt_div.c index 2db3f3a7e..82fe7b120 100644 --- a/modules/src/flt_arith/flt_div.c +++ b/modules/src/flt_arith/flt_div.c @@ -31,7 +31,7 @@ flt_div(e1,e2,e3) e3->flt_sign = 0; return; } - e3->flt_exp = e1->flt_exp - e2->flt_exp + 2; + e3->flt_exp = e1->flt_exp - e2->flt_exp; u[4] = (e1->m2 & 1) << 15; flt_b64_rsft(&(e1->flt_mantissa));