diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-03-05 12:22:46 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-03-05 12:22:46 +0000 |
commit | b7cd39e8f8c5cf2844f20eb03f545d19c4c25987 (patch) | |
tree | 1b6c55bdacf30fe15197282cf5d556fe708266ed /ChangeLog | |
parent | ca811b2256d2e48c7288219e9e11dcbab3000f19 (diff) | |
download | glibc-b7cd39e8f8c5cf2844f20eb03f545d19c4c25987.zip glibc-b7cd39e8f8c5cf2844f20eb03f545d19c4c25987.tar.gz glibc-b7cd39e8f8c5cf2844f20eb03f545d19c4c25987.tar.bz2 |
Fix pow in non-default rounding modes (bug 3976).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,4 +1,16 @@ -2012-03-02 Joseph Myers <joseph@codesourcery.com> +2012-03-05 Joseph Myers <joseph@codesourcery.com> + + [BZ #3976] + * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>. + (__ieee754_pow): Save and restore rounding mode and use + round-to-nearest for main computations. + * math/libm-test.inc (pow_test_tonearest): New function. + (pow_test_towardzero): Likewise. + (pow_test_downward): Likewise. + (pow_test_upward): Likewise. + (main): Call the new functions. + * sysdeps/i386/fpu/libm-test-ulps: Update. + * sysdeps/x86_64/fpu/libm-test-ulps: Likewise. [BZ #3976] * math/libm-test.inc (cosh_test_tonearest): New function. |