diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-10-15 20:22:59 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-10-15 20:22:59 -0400 |
commit | bcf01e6d800e837622ddbc851b42b55fa99e5636 (patch) | |
tree | 5df0ae9971331105fe53de872895abb68d8276a5 /math/bits | |
parent | ba1a0d5938b53454a249d679ab90baf541cd91ad (diff) | |
download | glibc-bcf01e6d800e837622ddbc851b42b55fa99e5636.tar.gz glibc-bcf01e6d800e837622ddbc851b42b55fa99e5636.tar.xz glibc-bcf01e6d800e837622ddbc851b42b55fa99e5636.zip |
Optimize exp
Add __exp*_finite optimizations and rewrite some wrappers.
Diffstat (limited to 'math/bits')
-rw-r--r-- | math/bits/math-finite.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h index c6b952736d..7443d26ad6 100644 --- a/math/bits/math-finite.h +++ b/math/bits/math-finite.h @@ -67,6 +67,13 @@ extern float coshf (float) __asm__ ("__coshf_finite"); extern long double coshl (long double) __asm__ ("__coshl_finite"); #endif +/* exp. */ +extern double exp (double) __asm__ ("__exp_finite"); +extern float expf (float) __asm__ ("__expf_finite"); +#ifdef __MATH_DECLARE_LDOUBLE +extern long double expl (long double) __asm__ ("__expl_finite"); +#endif + #ifdef __USE_GNU /* exp10. */ extern double exp10 (double) __asm__ ("__exp10_finite"); |