Bruce Evans 9d7dc13615 Fix scaling bugs which gave innaccuracies and spurious underflows in csqrt()
and csqrtl().

When one component is huge and the other is tiny, scaling down the tiny
component gave spurious underflow.

When both components are denormal, not scaling them up gave inaccuracies
of 34+ ulps on not very carefully selected args.  Fixing this reduces the
maximum error to 1.6 ulps on the same set of args (mosly not denormal ones).

The scaling used multiplication of a complex variable by 2, but clang messes
this on amd64 up by losing the sign of -0.0.  Calculate the components
separately, as is well known to be needed for operations on more exceptional
values.
2018-07-17 10:44:16 +00:00
..
2017-10-31 00:07:04 +00:00
2018-06-26 18:07:16 +00:00
2018-01-24 14:24:17 +00:00
2017-12-27 21:36:37 +00:00
2018-07-15 17:31:50 +00:00
2018-06-10 02:34:41 +00:00
2018-03-29 19:43:29 +00:00
2018-07-12 16:19:17 +00:00
2018-04-27 13:59:24 +00:00
2018-03-21 14:37:04 +00:00
2018-05-18 06:10:16 +00:00
2018-06-27 19:29:15 +00:00
2018-06-27 19:29:15 +00:00
2018-05-28 02:10:35 +00:00
2018-05-01 16:30:48 +00:00
2018-06-16 17:11:23 +00:00
2018-06-14 01:28:55 +00:00
2018-05-23 01:20:31 +00:00
2018-06-17 18:05:27 +00:00
2018-03-18 03:42:57 +00:00
2018-06-27 19:29:15 +00:00
2018-06-16 15:05:05 +00:00