about summary refs log tree commit diff
path: root/math/gen-libm-test.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-03-19 16:17:22 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-03-19 16:17:22 +0000
commitd71aeee8862acaabd5ccc151ba1b442a7b6d24d6 (patch)
treee80b2356fc4c44ad8850cab06087e38caf92dbd3 /math/gen-libm-test.pl
parentbaaf1dedc969e6fc87c4d5048c260f930c73881e (diff)
downloadglibc-d71aeee8862acaabd5ccc151ba1b442a7b6d24d6.tar.gz
glibc-d71aeee8862acaabd5ccc151ba1b442a7b6d24d6.tar.xz
glibc-d71aeee8862acaabd5ccc151ba1b442a7b6d24d6.zip
Use ALL_RM_TEST for more libm tests.
Continuing the move to using ALL_RM_TEST for tests in libm-test.inc,
this patch converts the tests of fdim, ldexp and scalb.  fdim and
scalb are cases where tests could depend on the rounding mode though
none of the present test inputs do; ldexp is such a case where the
function is equivalent to scalbn (for binary floating point) and the
tests used were a subset of those for scalbn, so this patch makes
ldexp testing use the scalbn tests, as done for other cases of libm
function aliases.

Tested x86_64 and x86.

	* math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
	(ldexp_test_data): Remove.
	(ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
	scalbn_test_data.
	(scalb_test): Use ALL_RM_TEST.
Diffstat (limited to 'math/gen-libm-test.pl')
0 files changed, 0 insertions, 0 deletions