GitHub PushEvent at 2014-03-24 13:01:04
Repository: glibc
Actor: xilinxrelman
Payload: {"shas":[["b376a11a19aa7b64107081e4eed2327c25a131be","461476587780aa9fa5611ea6dc3912c146a91760@codesourcery.com","Fix dbl-64 exp overflow/underflow in non-default rounding modes (bug 16284).\n\nThe dbl-64 version of exp needs round-to-nearest mode for its internal\ncomputations, but that has the consequence of inappropriate\noverflowing and underflowing results in other rounding modes.  This\npatch fixes this by recomputing the relevant results in cases where\nthe round-to-nearest result overflows to infinity or underflows to\nzero (most of the diffs are actually just consequent reindentation).\nTests are enabled in all rounding modes for complex functions using\nexp - but not for cexp because it turns out there are bugs causing\nspurious underflows for cexp for some tests, which will need to be\nfixed separately (I suspect ccos ccosh csin csinh ctan ctanh have\nsimilar bugs, just not shown by the present set of test inputs).\n\nTested x86_64 and x86 and ulps updated accordingly.\n\n\t[BZ #16284]\n\t* sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original\n\trounding mode to recompute results that overflow to infinity or\n\tunderflow to zero.\n\t* math/auto-libm-test-in: Don't mark tests as expected to fail for\n\tbug 16284.\n\t* math/auto-libm-test-out: Regenerated.\n\t* math/libm-test.inc (ccos_test): Use ALL_RM_TEST.\n\t(ccosh_test): Likewise.\n\t(csin_test_data): Use plus_oflow.\n\t(csin_test): Use ALL_RM_TEST.\n\t(csinh_test_data): Use plus_oflow.\n\t(csinh_test): Use ALL_RM_TEST.\n\t* sysdeps/i386/fpu/libm-test-ulps: Update.\n\t* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.","Joseph Myers",true]],"size":1,"ref":"refs/heads/master","head":"b376a11a19aa7b64107081e4eed2327c25a131be"}