aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
AgeCommit message (Collapse)Author
2013-07-13Annotate more cases of math bug 15319.David S. Miller
* math/libm-test.inc (casin_test_data): Annotate more cases of missing underflows from atanl/atan2l due to bug 15319. (casinh_test_data): Likewise.
2013-06-15Add another fma test.Joseph Myers
2013-06-11Add exception information to math-tests.h and use it in libm-test.inc.Joseph Myers
2013-06-10Add rounding mode information to math-tests.h and use it in libm-test.inc.Joseph Myers
2013-06-03BZ #15536: Fix ulp for 128-bit IBM long double.Carlos O'Donell
In 128-bit IBM long double the precision of the type decreases as you approach subnormal numbers, equaling that of a double for subnormal numbers. Therefore adjust the computation in ulp to use 2^(MIN_EXP - MANT_DIG) which is correct for FP_SUBNORMAL for all types.
2013-05-24Fix ldbl-96 hypotl of subnormals (bug 15529).Joseph Myers
2013-05-24Test drem and pow10 in libm-test.inc.Joseph Myers
2013-05-24Use same tests for isfinite/finite, lgamma/gamma.Joseph Myers
2013-05-24Correctly compute ulp near zero.Carlos O'Donell
The current value used for ulp near zero is wrong, and this commit fixes it such that ulp(0) is the smallest subnormal value nearest to zero, which makes the most sense for testing values near zero. Note that this is not what Java does; they use the nearest normal value, which is less accurate than what we want for glibc. Note that there is no correct implementation of ulp since there is no strict mathmatical definition that is accepted by all groups using IEEE 754. Previously with the large ulp values near zero there were tests that previously passed, but were in fact billions of ulp away from the precise answer. With this commit we now need to disable one of the cpow tests which is revealed to be inaccurate (bug 14473). --- 2013-05-24 Carlos O'Donell <carlos@redhat.com> * math/libm-test.inc (MAX_EXP): Define. (ULPDIFF): Define. (ulp): New function. (check_float_internal): Use ULPDIFF. (cpow_test): Disable failing test. (check_ulp): Test ulp() implemetnation. (main): Call check_ulp before starting tests.
2013-05-24Remove libm-test START_DATA and END_DATA.Joseph Myers
2013-05-24Make libm-test START and END into ordinary macros.Joseph Myers
2013-05-22Don't include function names in test data in generated libm-test.c.Joseph Myers
2013-05-19Handle sincos with generic libm-test logic.Joseph Myers
2013-05-18Make libm-test look up ulps by name at runtime.Joseph Myers
2013-05-17Fix remainder exceptions and directed-rounding results (bugs 15480, 15485).Joseph Myers
2013-05-17Simplify libm-test extra-output initialization.Joseph Myers
2013-05-17Don't handle ulps for integer tests in libm-test.inc.Joseph Myers
2013-05-17Test more cases of "inexact" exceptions in libm-test.inc.Joseph Myers
2013-05-16Test for errno setting in more pole error cases.Joseph Myers
2013-05-16Remove ENOSYS tests in libm-test.inc.Joseph Myers
2013-05-16Remove libm-test support for TEST_* inside functions.Joseph Myers
2013-05-16Convert TEST_extra tests from code to data.Joseph Myers
2013-05-16Support testing "inexact" exceptions in libm-test.inc.Joseph Myers
2013-05-16Test for errno setting in more overflow error cases.Joseph Myers
2013-05-16Convert TEST_cc_c tests from code to data.Joseph Myers
2013-05-16Convert TEST_f_L tests from code to data.Joseph Myers
2013-05-15Convert TEST_f_l tests from code to data.Joseph Myers
2013-05-15Consistently use TEST_f_L in tests of llrint and llround.Joseph Myers
2013-05-15Convert TEST_f_b tests from code to data.Joseph Myers
2013-05-15Test for errno setting in more domain error cases.Joseph Myers
2013-05-15Disable libm-test errno testing for TEST_INLINE.Joseph Myers
2013-05-15Convert TEST_ff_i tests from code to data.Joseph Myers
2013-05-14Fix whitespace in RUN_TEST_LOOP_2_f.Joseph Myers
2013-05-14Correct types of fields in libm-test.inc structures.Joseph Myers
2013-05-14Convert TEST_ffI_f1 tests from code to data.Joseph Myers
2013-05-14Convert TEST_f_i tests from code to data.Joseph Myers
2013-05-14Fix function name in scalbln_test call to END.Joseph Myers
2013-05-14Convert TEST_fI_f1 tests from code to data.Joseph Myers
2013-05-14Convert TEST_fF_f1 tests from code to data.Joseph Myers
2013-05-14Convert TEST_f_f1 tests from code to data.Joseph Myers
2013-05-13Convert TEST_fl_f tests from code to data.Joseph Myers
2013-05-13Convert TEST_fi_f tests from code to data.Joseph Myers
2013-05-13Convert TEST_c_f tests from code to data.Joseph Myers
2013-05-13Convert TEST_if_f tests from code to data.Joseph Myers
2013-05-13Consistently use TEST_fl_f in tests of scalbln.Joseph Myers
2013-05-13Define decimal constant M_1_DIV_El in libm-test.incAdhemerval Zanella
This patch replaces the 1.0 / M_El by the decimal constant M_1_DIV_El.
2013-05-12Convert TEST_fff_f tests from code to data.Joseph Myers
2013-05-12Convert TEST_c_c tests from code to data.Joseph Myers
2013-05-12Convert TEST_ff_f tests from code to data.Joseph Myers
2013-05-11Make fma and nextafter tests use max_value instead of fltmax.Joseph Myers