Joseph Myers
8c6c923636
Fix i386 acosh (-qNaN) spurious "invalid" exception.
...
The i386 versions of acoshf and acosh raise a spurious "invalid"
exception for an argument that is a quiet NaN with the sign bit set.
The integer arithmetic to detect arguments < 1 also detects -NaN, and
then the computation 0 / 0 in that case raises the exception. This
patch fixes this by using (x - x) / (x - x) as the computation in that
case instead, which will always raise the exception for non-NaN
arguments reaching that code, but not for quiet NaN arguments.
Tested for x86_64 and x86.
[BZ #19032 ]
* sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
compute result as (x - x) / (x - x) not as 0 / 0.
* sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
* math/libm-test.inc (acosh_test_data): Add another test of acosh.
2015-09-30 21:44:42 +00:00
..
2015-09-30 21:44:42 +00:00
2015-08-27 09:06:44 -07:00
2015-09-18 21:53:22 +00:00
2015-03-28 00:44:22 -04:00
2015-01-02 16:29:47 +00:00
2009-07-30 21:50:14 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-09-11 20:00:19 +00:00
2015-09-08 21:11:03 +00:00
2015-08-27 09:04:54 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-27 09:04:54 -07:00
2015-08-19 04:27:04 -07:00
2015-07-09 06:50:12 -07:00
2015-07-09 06:50:12 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-03-31 05:16:57 -07:00
2015-08-13 03:41:22 -07:00
2015-08-13 03:41:22 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-07-09 06:50:12 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-27 07:50:34 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2012-05-30 14:13:18 -07:00
2015-08-27 09:06:44 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-13 03:41:22 -07:00
2015-07-09 06:50:12 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-26 07:55:42 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-08-27 09:04:54 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-06-25 17:52:56 +00:00
2015-08-27 07:55:29 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-09-23 00:52:09 -04:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-27 07:56:41 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-08-27 07:51:55 -07:00
2015-01-02 16:29:47 +00:00
2015-08-27 07:57:55 -07:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-02-21 22:21:52 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2014-12-30 11:37:41 -08:00
2015-01-02 16:29:47 +00:00
2008-05-13 05:41:30 +00:00
2015-07-07 05:09:30 -07:00
2015-07-07 05:09:30 -07:00
2015-01-02 16:29:47 +00:00
2015-07-07 05:09:30 -07:00
2015-08-09 08:06:50 -07:00
2015-08-26 07:55:42 -07:00
2015-01-02 16:29:47 +00:00
2012-03-19 21:02:40 +01:00