Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make more libm tests condition exceptions tests with math-tests.h. | Joseph Myers | 2013-06-12 | 3 | -51/+54 |
| | |||||
* | Add exception information to math-tests.h and use it in libm-test.inc. | Joseph Myers | 2013-06-11 | 1 | -17/+21 |
| | |||||
* | Add rounding mode information to math-tests.h and use it in libm-test.inc. | Joseph Myers | 2013-06-10 | 1 | -4/+9 |
| | |||||
* | Remove trailing whitespace. | Joseph Myers | 2013-06-05 | 1 | -1/+1 |
| | |||||
* | BZ #15536: Fix ulp for 128-bit IBM long double. | Carlos O'Donell | 2013-06-03 | 1 | -11/+26 |
| | | | | | | | | 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. | ||||
* | Link extra-libs consistently with libc and ld.so. | Joseph Myers | 2013-05-31 | 1 | -5/+0 |
| | |||||
* | Fix ldbl-96 hypotl of subnormals (bug 15529). | Joseph Myers | 2013-05-24 | 1 | -0/+13 |
| | |||||
* | Test drem and pow10 in libm-test.inc. | Joseph Myers | 2013-05-24 | 1 | -5/+63 |
| | |||||
* | Use same tests for isfinite/finite, lgamma/gamma. | Joseph Myers | 2013-05-24 | 1 | -44/+18 |
| | |||||
* | Correctly compute ulp near zero. | Carlos O'Donell | 2013-05-24 | 1 | -48/+93 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Remove libm-test START_DATA and END_DATA. | Joseph Myers | 2013-05-24 | 2 | -347/+0 |
| | |||||
* | Make libm-test START and END into ordinary macros. | Joseph Myers | 2013-05-24 | 2 | -197/+176 |
| | |||||
* | Don't include function names in test data in generated libm-test.c. | Joseph Myers | 2013-05-22 | 2 | -132/+241 |
| | |||||
* | Don't include expected results in libm-test test names. | Joseph Myers | 2013-05-22 | 1 | -4/+1 |
| | |||||
* | Handle sincos with generic libm-test logic. | Joseph Myers | 2013-05-19 | 3 | -86/+56 |
| | |||||
* | Simplify gen-libm-test.pl handling of tests with extra outputs. | Joseph Myers | 2013-05-19 | 1 | -65/+17 |
| | |||||
* | Don't disable CMPLXL macro for __NO_LONG_DOUBLE_MATH (bug 15488). | Joseph Myers | 2013-05-18 | 3 | -9/+1 |
| | |||||
* | Make libm-test look up ulps by name at runtime. | Joseph Myers | 2013-05-18 | 2 | -228/+225 |
| | |||||
* | Fix remainder exceptions and directed-rounding results (bugs 15480, 15485). | Joseph Myers | 2013-05-17 | 1 | -7/+162 |
| | |||||
* | Simplify libm-test extra-output initialization. | Joseph Myers | 2013-05-17 | 2 | -37/+30 |
| | |||||
* | Don't handle ulps for integer tests in libm-test.inc. | Joseph Myers | 2013-05-17 | 1 | -15/+3 |
| | |||||
* | Test more cases of "inexact" exceptions in libm-test.inc. | Joseph Myers | 2013-05-17 | 1 | -1119/+1132 |
| | |||||
* | Test for errno setting in more pole error cases. | Joseph Myers | 2013-05-16 | 1 | -15/+15 |
| | |||||
* | Remove ENOSYS tests in libm-test.inc. | Joseph Myers | 2013-05-16 | 1 | -649/+0 |
| | |||||
* | Remove libm-test support for TEST_* inside functions. | Joseph Myers | 2013-05-16 | 2 | -90/+28 |
| | |||||
* | Convert TEST_extra tests from code to data. | Joseph Myers | 2013-05-16 | 1 | -48/+75 |
| | |||||
* | De-stringify constants in math/atest-exp2.c. | Richard Henderson | 2013-05-16 | 1 | -42/+32 |
| | |||||
* | Support testing "inexact" exceptions in libm-test.inc. | Joseph Myers | 2013-05-16 | 1 | -392/+399 |
| | |||||
* | Test for errno setting in more overflow error cases. | Joseph Myers | 2013-05-16 | 1 | -81/+79 |
| | |||||
* | Convert TEST_cc_c tests from code to data. | Joseph Myers | 2013-05-16 | 1 | -14/+36 |
| | |||||
* | Convert TEST_f_L tests from code to data. | Joseph Myers | 2013-05-16 | 1 | -769/+780 |
| | |||||
* | Remove const attribute on get_log2 | Peter Collingbourne | 2013-05-15 | 1 | -1/+0 |
| | | | | This function is not const, as it can modify log2_m and log2_m_inited. | ||||
* | Convert TEST_f_l tests from code to data. | Joseph Myers | 2013-05-15 | 1 | -167/+179 |
| | |||||
* | Consistently use TEST_f_L in tests of llrint and llround. | Joseph Myers | 2013-05-15 | 1 | -6/+6 |
| | |||||
* | Convert TEST_f_b tests from code to data. | Joseph Myers | 2013-05-15 | 1 | -67/+117 |
| | |||||
* | Test for errno setting in more domain error cases. | Joseph Myers | 2013-05-15 | 1 | -53/+53 |
| | |||||
* | Disable libm-test errno testing for TEST_INLINE. | Joseph Myers | 2013-05-15 | 1 | -0/+2 |
| | |||||
* | Convert TEST_ff_i tests from code to data. | Joseph Myers | 2013-05-15 | 1 | -108/+154 |
| | |||||
* | Fix whitespace in RUN_TEST_LOOP_2_f. | Joseph Myers | 2013-05-14 | 1 | -1/+1 |
| | |||||
* | Correct types of fields in libm-test.inc structures. | Joseph Myers | 2013-05-14 | 1 | -2/+2 |
| | |||||
* | Convert TEST_ffI_f1 tests from code to data. | Joseph Myers | 2013-05-14 | 1 | -15/+46 |
| | |||||
* | Convert TEST_f_i tests from code to data. | Joseph Myers | 2013-05-14 | 1 | -24/+56 |
| | |||||
* | Fix function name in scalbln_test call to END. | Joseph Myers | 2013-05-14 | 1 | -1/+1 |
| | |||||
* | Convert TEST_fI_f1 tests from code to data. | Joseph Myers | 2013-05-14 | 1 | -11/+27 |
| | |||||
* | Convert TEST_fF_f1 tests from code to data. | Joseph Myers | 2013-05-14 | 1 | -12/+40 |
| | |||||
* | Convert TEST_f_f1 tests from code to data. | Joseph Myers | 2013-05-14 | 1 | -34/+67 |
| | |||||
* | Convert TEST_fl_f tests from code to data. | Joseph Myers | 2013-05-13 | 1 | -38/+53 |
| | |||||
* | Convert TEST_fi_f tests from code to data. | Joseph Myers | 2013-05-13 | 1 | -36/+56 |
| | |||||
* | Convert TEST_c_f tests from code to data. | Joseph Myers | 2013-05-13 | 1 | -92/+129 |
| | |||||
* | Convert TEST_if_f tests from code to data. | Joseph Myers | 2013-05-13 | 1 | -124/+144 |
| |