This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2.1] Use long for mantissa for generic mp code
On 15 March 2013 21:36, Richard Henderson <rth@twiddle.net> wrote:
> I'm going to say no, it doesn't.
>
> I saw that test-double.out had more than an hour of cpu time -- the whole
> testsuite should have run in 30 minutes or so.
Oh OK. Attached is what I missed (untested so far; my build is still
running). Can you see if that works?
Thanks,
Siddhesh
diff --git a/sysdeps/ieee754/dbl-64/mpa.c b/sysdeps/ieee754/dbl-64/mpa.c
index 860e859..5254cff 100644
--- a/sysdeps/ieee754/dbl-64/mpa.c
+++ b/sysdeps/ieee754/dbl-64/mpa.c
@@ -148,7 +148,7 @@ norm (const mp_no *x, double *y, int p)
for (i = 2; i < 5; i++)
{
- mantissa_t d, r;
+ mantissa_store_t d, r;
d = X[i] * a;
DIV_RADIX (d, r);
z[i] = r;
--
http://siddhesh.in