Siddhesh Poyarekar
ba4e688461
Check n instead of k1 to decide on sign of sin/cos result
...
For k1 in 1 and 3, n can only have values of 0 and 2, so checking k1 &
2 is equivalent to checking n & 2. We prefer the latter so that we
don't use k1 for anything other than selecting the quadrant in
do_sincos_1, thus dropping it completely.
The previous logic was:
"Compute sine for the value and based on the new rotated quadrant
(k1) negate the value if we're in the fourth quadrant."
With this change, the logic now is:
"Compute sine for the value and negate it if we were either (1) in
the fourth quadrant or (2) we actually wanted the cosine and were
in the third quadrant."
* sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
instead of K1.
2016-10-06 00:34:26 +05:30
..
2016-08-03 13:35:22 +02:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-09-30 15:49:51 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2013-10-17 16:03:24 +02:00
2016-06-06 22:21:11 +00:00
2016-06-13 21:43:22 +00:00
2016-01-04 16:05:18 +00:00
2015-09-18 20:00:48 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-02-10 15:07:12 +01:00
2016-01-04 16:05:18 +00:00
2015-09-24 23:43:57 +00:00
2013-10-17 16:03:24 +02:00
2015-02-26 21:49:19 +00:00
2015-10-23 21:37:33 +00:00
2015-10-23 21:37:33 +00:00
2015-10-27 23:42:20 +00:00
2015-10-05 17:46:50 +00:00
2015-10-05 17:46:50 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 14:55:38 -02:00
2013-10-17 16:03:24 +02:00
2016-01-04 16:05:18 +00:00
2015-09-23 22:42:30 +00:00
2016-01-04 16:05:18 +00:00
2016-08-19 11:29:43 -05:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-08-18 12:20:35 +02:00
2012-02-26 16:10:46 +01:00
2016-01-04 16:05:18 +00:00
2016-08-19 11:29:43 -05:00
2015-03-10 09:38:54 -04:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2015-09-23 22:42:30 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-05-24 17:42:10 +00:00
2013-10-17 16:03:24 +02:00
2015-10-05 17:46:50 +00:00
2015-09-23 22:42:30 +00:00
2015-05-28 11:42:55 +01:00
2016-01-20 19:04:43 +00:00
2016-05-24 17:44:46 +00:00
2016-01-15 05:23:20 -08:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-06-13 17:27:19 +00:00
2015-12-03 13:00:46 -05:00
2015-12-03 13:00:46 -05:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2015-09-23 22:42:30 +00:00
2015-10-05 17:46:50 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2014-02-10 15:07:12 +01:00
2013-10-17 16:03:24 +02:00
2016-06-16 21:37:45 +05:30
2016-01-04 16:05:18 +00:00
2013-10-17 16:03:24 +02:00
2016-05-24 17:46:55 +00:00
2014-06-20 07:48:20 +05:30
2015-09-16 21:11:00 +00:00
2016-01-04 16:05:18 +00:00
2016-10-06 00:34:26 +05:30
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2015-09-23 22:42:30 +00:00
2016-08-03 13:35:22 +02:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-01-04 16:05:18 +00:00
2016-08-19 11:29:43 -05:00
2016-01-04 16:05:18 +00:00