Also handle __STDC_WANT_IEC_60559_BFP_EXT__ in <tgmath.h>.
commit146f208da68a3ff27a52f05536c61e6db69cd87f
authorJoseph Myers <joseph@codesourcery.com>
Wed, 3 Aug 2016 22:56:54 +0000 (3 22:56 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 3 Aug 2016 22:56:54 +0000 (3 22:56 +0000)
tree8111b41ba64d511dc955354fc70c9625d7f31edb
parent412cb261b0d66ef5251d7d1c8276b5c522d943b7
Also handle __STDC_WANT_IEC_60559_BFP_EXT__ in <tgmath.h>.

My __STDC_WANT_IEC_60559_BFP_EXT__ patch omitted to update the
conditions on the nextup and nextdown type-generic macros in
<tgmath.h>.  This patch updates those conditions accordingly.  (As
glibc doesn't currently have an exp10 type-generic macro, no such
changes are needed relating to __STDC_WANT_IEC_60559_FUNCS_EXT__;
adding such a type-generic macro would be a new feature.)

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).  Committed.

* math/tgmath.h (nextdown): Define if
[__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
(nextup): Likewise.
ChangeLog
math/tgmath.h