aboutsummaryrefslogtreecommitdiff
path: root/math/bits
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-09-04 16:27:16 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-09-04 16:28:23 +0000
commitf3a129b872a3d8c5edb3bd8b4b2b26c52f449160 (patch)
tree17d332dce53ba6e209f23b9bca25a244379dcc2c /math/bits
parentb38042f51430974642616a60afbbf96fd0b98659 (diff)
downloadglibc-f3a129b872a3d8c5edb3bd8b4b2b26c52f449160.zip
glibc-f3a129b872a3d8c5edb3bd8b4b2b26c52f449160.tar.gz
glibc-f3a129b872a3d8c5edb3bd8b4b2b26c52f449160.tar.bz2
Fix bits/math-finite.h exp10 condition (bug 22082).
bits/math-finite.h handles exp10 if __USE_GNU. It should use the condition __GLIBC_USE (IEC_60559_FUNCS_EXT), as in bits/mathcalls.h. This patch fixes the condition. Tested for x86_64. [BZ #22082] * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
Diffstat (limited to 'math/bits')
-rw-r--r--math/bits/math-finite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index 8113db2..98dbe55 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -67,7 +67,7 @@ __MATH_REDIRCALL (cosh, , (_Mdouble_));
/* exp. */
__MATH_REDIRCALL (exp, , (_Mdouble_));
-#ifdef __USE_GNU
+#if __GLIBC_USE (IEC_60559_FUNCS_EXT)
/* exp10. */
__MATH_REDIRCALL (exp10, , (_Mdouble_));
#endif