mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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].
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2017-09-04 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
[BZ #22082]
|
||||||
|
* math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
|
||||||
|
(IEC_60559_FUNCS_EXT)], not [__USE_GNU].
|
||||||
|
|
||||||
2017-09-04 Florian Weimer <fweimer@redhat.com>
|
2017-09-04 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* math/math.h: Issue warning if log is defined.
|
* math/math.h: Issue warning if log is defined.
|
||||||
|
@ -67,7 +67,7 @@ __MATH_REDIRCALL (cosh, , (_Mdouble_));
|
|||||||
/* exp. */
|
/* exp. */
|
||||||
__MATH_REDIRCALL (exp, , (_Mdouble_));
|
__MATH_REDIRCALL (exp, , (_Mdouble_));
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#if __GLIBC_USE (IEC_60559_FUNCS_EXT)
|
||||||
/* exp10. */
|
/* exp10. */
|
||||||
__MATH_REDIRCALL (exp10, , (_Mdouble_));
|
__MATH_REDIRCALL (exp10, , (_Mdouble_));
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user