From f3a129b872a3d8c5edb3bd8b4b2b26c52f449160 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 4 Sep 2017 16:27:16 +0000 Subject: 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]. --- math/bits/math-finite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math/bits/math-finite.h') diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h index 8113db265a..98dbe553bb 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 -- cgit v1.2.3