* Fix bits/math-finite.h exp10 condition (bug 22082) [committed]
@ 2017-09-04 16:29 Joseph Myers
0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2017-09-04 16:29 UTC (permalink / raw)
To: libc-alpha
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. Committed.
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].
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
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-04 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04 16:29 Fix bits/math-finite.h exp10 condition (bug 22082) [committed] Joseph Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).