Include bits/mathcalls.h for more _FloatN, _FloatNx types.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 27 Oct 2017 22:43:46 +0000 (22:43 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 27 Oct 2017 22:43:46 +0000 (22:43 +0000)
commit7e9d70736b98950522549e63d5bb7f81ff9eb93b
tree8fee4e18b9757661f40607f97396402a26bc8086
parent63d3b468c1b63d04c067eab8d86f0be6bd15bc87
Include bits/mathcalls.h for more _FloatN, _FloatNx types.

Continuing the preparation for additional _FloatN / _FloatNx type
support, this patch arranges for <bits/mathcalls.h> and
<bits/mathcalls-helper-functions.h> to be included for each such type
under conditions and with macros defined corresponding to those
already present for _Float128.

Tested for x86_64.

* math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.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