+2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
+ the lower precision input.
+
2013-02-15 Joseph Myers <joseph@codesourcery.com>
[BZ #13550]
{
int i, j, k, ip, ip2;
double u, zk;
+ const mp_no *a;
/* Is z=0? */
if (__glibc_unlikely (X[0] * Y[0] == ZERO))
if (X[ip2] != ZERO || Y[ip2] != ZERO)
break;
+ a = X[ip2] != ZERO ? y : x;
+
/* ... and here, at least one of them is still zero. */
for (ip = ip2; ip > 0; ip--)
- if (X[ip] * Y[ip] != ZERO)
+ if (a->d[ip] != ZERO)
break;
/* The product looks like this for p = 3 (as an example):