From d2f9799e7ca00687eb1a57f2747b4293e1a7dea6 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sat, 16 Mar 2013 17:51:48 +0000 Subject: Fix y1l spurious overflows for ldbl-96 (bug 15283). --- sysdeps/ieee754/ldbl-96/e_j1l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/ieee754/ldbl-96/e_j1l.c') diff --git a/sysdeps/ieee754/ldbl-96/e_j1l.c b/sysdeps/ieee754/ldbl-96/e_j1l.c index 785c0b0..4c13018 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) -- cgit v1.1