about summary refs log tree commit diff
path: root/math/w_scalbln.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_scalbln.c')
-rw-r--r--math/w_scalbln.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/w_scalbln.c b/math/w_scalbln.c
index 4a309b900d..bcc33191d9 100644
--- a/math/w_scalbln.c
+++ b/math/w_scalbln.c
@@ -24,7 +24,7 @@ double
 __w_scalbln (double x, long int n)
 {
   if (!isfinite (x) || x == 0.0)
-    return x;
+    return x + x;
 
   x = __scalbln (x, n);