Macroize inclusion of math-finite.h
commitf264cca59380bca8f372bd09a8da7c9e1bbbf493
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Fri, 10 Mar 2017 12:47:18 +0000 (10 09:47 -0300)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Thu, 30 Mar 2017 12:59:25 +0000 (30 09:59 -0300)
tree71c09cb174a4e768872acea55ee28fa0fb157e3d
parent3abeeec5f46ff036bd9df60bb096e20314ccd078
Macroize inclusion of math-finite.h

This patch macroizes the declarations in math/bits/math-finite.h
similarly to what math/bits/mathcalls.h does.  For each floating-point
type, the file is included once in math/math.h.  This will reduce the
amount of repetitive boilerplate required when adding float128
versions of these declarations.

Tested for powerpc64le and s390x.

* math/math.h: Include bits/math-finite.h once per
floating-point type.
* math/bits/math-finite.h: Macroize all declarations by
floating-point type.
ChangeLog
math/bits/math-finite.h
math/math.h