diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-03-16 17:51:48 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-03-16 17:51:48 +0000 |
commit | d2f9799e7ca00687eb1a57f2747b4293e1a7dea6 (patch) | |
tree | 536a28c0919e8388cb94fa1ba9b75dce7d61a7bc /sysdeps/ieee754/ldbl-96 | |
parent | 2a185d32e830589bf9ae50f9243bb304f84b110b (diff) | |
download | glibc-d2f9799e7ca00687eb1a57f2747b4293e1a7dea6.tar glibc-d2f9799e7ca00687eb1a57f2747b4293e1a7dea6.tar.gz glibc-d2f9799e7ca00687eb1a57f2747b4293e1a7dea6.tar.bz2 glibc-d2f9799e7ca00687eb1a57f2747b4293e1a7dea6.zip |
Fix y1l spurious overflows for ldbl-96 (bug 15283).
Diffstat (limited to 'sysdeps/ieee754/ldbl-96')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/e_j1l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-96/e_j1l.c b/sysdeps/ieee754/ldbl-96/e_j1l.c index 785c0b0676..4c13018aea 100644 --- a/sysdeps/ieee754/ldbl-96/e_j1l.c +++ b/sysdeps/ieee754/ldbl-96/e_j1l.c @@ -203,7 +203,7 @@ __ieee754_y1l (long double x) __sincosl (x, &s, &c); ss = -s - c; cc = s - c; - if (ix < 0x7fe00000) + if (ix < 0x7ffe) { /* make sure x+x not overflow */ z = __cosl (x + x); if ((s * c) > zero) |