aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-06-23 21:59:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-06-23 21:59:34 +0000
commit7ed84b89f344c54dbf8665cb1cd29044bec62d18 (patch)
tree7db3275be9bd153de4d9b2f16c7c4eb19a69db65 /misc
parent78c12083068bc0390048b590e7e2fa837032c30c (diff)
downloadglibc-7ed84b89f344c54dbf8665cb1cd29044bec62d18.tar
glibc-7ed84b89f344c54dbf8665cb1cd29044bec62d18.tar.gz
glibc-7ed84b89f344c54dbf8665cb1cd29044bec62d18.tar.bz2
glibc-7ed84b89f344c54dbf8665cb1cd29044bec62d18.zip
Add more sNaN tests (most remaining real functions).
This patch adds tests of sNaN inputs to more functions to libm-test.inc. This covers the remaining real functions except for scalb, where there's a bug to fix, and hypot pow fmin fmax, where there are cases where a qNaN input does not result in a qNaN output and so sNaN support according to TS 18661-1 is more of a new feature. Tested for x86_64 and x86. * math/libm-test.inc (snan_value_ld): New macro. (isgreater_test_data): Add sNaN tests. (isgreaterequal_test_data): Likewise. (isless_test_data): Likewise. (islessequal_test_data): Likewise. (islessgreater_test_data): Likewise. (isunordered_test_data): Likewise. (nextafter_test_data): Likewise. (nexttoward_test_data): Likewise. (remainder_test_data): Likewise. (remquo_test_data): Likewise. (significand_test_data): Likewise. * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions