aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128/e_j0l.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128/e_j0l.c')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_j0l.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_j0l.c b/sysdeps/ieee754/ldbl-128/e_j0l.c
index dbe414d2b1..ce506076d1 100644
--- a/sysdeps/ieee754/ldbl-128/e_j0l.c
+++ b/sysdeps/ieee754/ldbl-128/e_j0l.c
@@ -803,12 +803,6 @@ long double
{
long double xx, xinv, z, p, q, c, s, cc, ss;
- if (x <= 0.0L)
- {
- if (x < 0.0L)
- return (zero / zero);
- return 1.0L / zero;
- }
if (! finitel (x))
{
if (x != x)
@@ -816,6 +810,12 @@ long double
else
return 0.0L;
}
+ if (x <= 0.0L)
+ {
+ if (x < 0.0L)
+ return (zero / zero);
+ return 1.0L / zero;
+ }
xx = fabsl (x);
if (xx <= 2.0L)
{