summaryrefslogtreecommitdiff
path: root/libm/e_acosh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/e_acosh.c')
-rw-r--r--libm/e_acosh.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libm/e_acosh.c b/libm/e_acosh.c
index 17e29c824..ac4ea088e 100644
--- a/libm/e_acosh.c
+++ b/libm/e_acosh.c
@@ -50,9 +50,6 @@ double __ieee754_acosh(double x)
return __ieee754_log(2.0*x-one/(x+__ieee754_sqrt(t-one)));
} else { /* 1<x<2 */
t = x-one;
- return log1p(t+sqrt(2.0*t+t*t));
+ return log1p(t+__ieee754_sqrt(2.0*t+t*t));
}
}
-
-strong_alias(__ieee754_acosh, acosh)
-libm_hidden_def(acosh)