diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-10-22 00:32:39 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-10-22 00:32:39 -0400 |
commit | bc62c2fb152d6ffec63975d88fd8f1bc3d3b7c01 (patch) | |
tree | bbb67e94ed1a9ba0becbe752c6853c199c639070 /sysdeps/ieee754/dbl-64/e_acosh.c | |
parent | c196fed8f01a8599dd43edf1c7a1ea3ba9ed0598 (diff) | |
download | glibc-bc62c2fb152d6ffec63975d88fd8f1bc3d3b7c01.zip glibc-bc62c2fb152d6ffec63975d88fd8f1bc3d3b7c01.tar.gz glibc-bc62c2fb152d6ffec63975d88fd8f1bc3d3b7c01.tar.bz2 |
Optimization to some complex math functions
Also, change last reference to __sqrt into __sqrt to easily.
Diffstat (limited to 'sysdeps/ieee754/dbl-64/e_acosh.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/e_acosh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_acosh.c b/sysdeps/ieee754/dbl-64/e_acosh.c index f474e9a..6ef10cb 100644 --- a/sysdeps/ieee754/dbl-64/e_acosh.c +++ b/sysdeps/ieee754/dbl-64/e_acosh.c @@ -52,7 +52,7 @@ __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_finite) |