Use C11 *_DECIMAL_DIG macros in libm-test.inc.
commiteae6c382bdca2e7ac582a69d56c9c228b678ee67
authorJoseph Myers <joseph@codesourcery.com>
Wed, 28 Oct 2015 17:12:20 +0000 (28 17:12 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 28 Oct 2015 17:12:20 +0000 (28 17:12 +0000)
tree6b02f213fef92662f3c93608e914d95c5a878eed
parent352988a4a66723b9884ef92e0c2a2ae1165776d6
Use C11 *_DECIMAL_DIG macros in libm-test.inc.

Now that we build with -std=gnu11, we can use C11 <float.h> macros
such as FLT_DECIMAL_DIG instead of the GCC predefines such as
__FLT_DECIMAL_DIG__ that are used internally in <float.h>.  This patch
makes libm-test.inc do so.

Tested for x86_64 and x86.

* math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
__DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
ChangeLog
math/libm-test.inc