diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2012-05-05 19:37:39 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2012-05-05 19:37:39 +0000 |
| commit | 41498f4db1ebfeb2fb76b9137cba38c20000f1d3 (patch) | |
| tree | e546d5a208020a4dc1598ea46d5c819e9a1a20c0 /ChangeLog | |
| parent | 6698b8bf4365f09d5bb467e113068f210811b001 (diff) | |
| download | glibc-41498f4db1ebfeb2fb76b9137cba38c20000f1d3.tar.xz glibc-41498f4db1ebfeb2fb76b9137cba38c20000f1d3.zip | |
Fix missing exceptions from exp (bugs 13787, 13922, 14036).
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1,5 +1,28 @@ 2012-05-05 Joseph Myers <joseph@codesourcery.com> + [BZ #13787] + [BZ #13922] + [BZ #14036] + * sysdeps/i386/fpu/e_expl.S (csat): New constant. + (__ieee754_expl): Allow for and saturate large arguments. + * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable. + (u_threshold): Likewise. + (__exp): Call __ieee754_exp before checking for overflow and + underflow. + * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable. + (u_threshold): Likewise. + (__expf): Call __ieee754_expf before checking for overflow and + underflow. + * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable. + (u_threshold): Likewise. + (__expl): Call __ieee754_expl before checking for overflow and + underflow. + * sysdeps/x86_64/fpu/e_expl.S (csat): New constant. + (__ieee754_expl): Allow for and saturate large arguments. + * math/libm-test.inc (exp_test): Add another test. Do not allow + missing overflow exception on overflow. + (expm1_test): Do not allow missing overflow exception on overflow. + * sysdeps/i386/fpu/e_expl.c: Move to ... * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly rather than using inline asm. |
