summaryrefslogtreecommitdiffstats
path: root/lib/msun/ld128/s_exp2l.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/msun/ld128/s_exp2l.c')
-rw-r--r--lib/msun/ld128/s_exp2l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msun/ld128/s_exp2l.c b/lib/msun/ld128/s_exp2l.c
index a94b892..31178e4 100644
--- a/lib/msun/ld128/s_exp2l.c
+++ b/lib/msun/ld128/s_exp2l.c
@@ -371,7 +371,7 @@ exp2l(long double x)
if (u.xbits.manh != 0
|| u.xbits.manl != 0
|| (hx & 0x8000) == 0)
- return (x); /* x is NaN or +Inf */
+ return (x + x); /* x is NaN or +Inf */
else
return (0.0); /* x is -Inf */
}
OpenPOWER on IntegriCloud