Include bits/math-finite.h for more _FloatN, _FloatNx types.
commitb61afe8c813e80aa7766c325023743fef4464807
authorJoseph Myers <joseph@codesourcery.com>
Mon, 30 Oct 2017 22:15:40 +0000 (30 22:15 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 30 Oct 2017 22:15:40 +0000 (30 22:15 +0000)
tree0ed94f159b71ac47a3b6baacbdd8849690bfbff6
parenteda162dd8a7d2ca0b1900aa57a78b9586800b4ec
Include bits/math-finite.h for more _FloatN, _FloatNx types.

Continuing the preparation for additional _FloatN / _FloatNx type
support, this patch extends the includes of <bits/math-finite.h> to
cover all such types, under conditions analogous to those for
_Float128.

Tested for x86_64.

* math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
Include <bits/math-finite.h> with appropriate macros defined and
undefined.
[__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
[__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
[__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
[__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
[__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
ChangeLog
math/math.h