From 8d375dafe2caa85add7d5ef5bf8c8d421353df7b Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Jun 2017 23:03:38 +0000 Subject: Support _Float128 in math-tests.h. This patch makes math-tests.h, as used to describe support of given floating-point types for sNaNs, rounding modes and exceptions, handle distinguishing _Float128 from long double. This is needed for x86_64, where if building with GCC 6 or earlier there is no __builtin_nansq, so no way to get a signaling NaN of _Float128 type, so associated tests cannot be run (although glibc itself works fine, as there is never any need to create such an sNaN with a built-in function inside glibc). Tested for x86_64 (in conjunction with float128 patches). * sysdeps/generic/math-tests.h: Include . (MATH_TESTS_TG): New macro. (SNAN_TESTS_float128): Likewise. (ROUNDING_TESTS_float128): Likewise. (EXCEPTION_TESTS_float128): Likewise. (SNAN_TESTS): Define using MATH_TESTS_TG. (ROUNDING_TESTS): Likewise. (EXCEPTION_TESTS): Likewise. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 80b1479183..8f05b18f51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2017-06-22 Joseph Myers + * sysdeps/generic/math-tests.h: Include . + (MATH_TESTS_TG): New macro. + (SNAN_TESTS_float128): Likewise. + (ROUNDING_TESTS_float128): Likewise. + (EXCEPTION_TESTS_float128): Likewise. + (SNAN_TESTS): Define using MATH_TESTS_TG. + (ROUNDING_TESTS): Likewise. + (EXCEPTION_TESTS): Likewise. + * sysdeps/ieee754/float128/float128_private.h [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and pass it to SET_RESTORE_ROUNDF128. -- cgit v1.2.3