Convert TEST_f_L tests from code to data.

This commit is contained in:
Joseph Myers 2013-05-16 13:16:56 +00:00
parent f137ff1383
commit 15c7c18dc6
2 changed files with 814 additions and 786 deletions

View File

@ -1,3 +1,20 @@
2013-05-16 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (struct test_f_L_data): New type.
(RUN_TEST_LOOP_f_L): New macro.
(llrint_test_data): New variable.
(llrint_test): Run tests with RUN_TEST_LOOP_f_L.
(llrint_tonearest_test_data): New variable.
(llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
(llrint_towardzero_test_data): New variable.
(llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
(llrint_downward_test_data): New variable.
(llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
(llrint_upward_test_data): New variable.
(llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
(llround_test_data): New variable.
(llround_test): Run tests with RUN_TEST_LOOP_f_L.
2013-05-13 Peter Collingbourne <pcc@google.com>
* math/atest-exp2.c (get_log2): Remove const attribute.

File diff suppressed because it is too large Load Diff