Add fall through comments

Add fall through comments I had missed writing in previously.
This commit is contained in:
Siddhesh Poyarekar 2016-08-30 13:00:29 +05:30
parent 32efd690bd
commit 1a822c6184
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
fall through comment.
(do_sincos_1): Likewise.
* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
Consolidate switch cases 0 and 2.

View File

@ -252,6 +252,7 @@ reduce_and_compute (double x, unsigned int k)
case 2:
a = -a;
da = -da;
/* Fall through. */
case 0:
if (a * a < 0.01588)
retval = bsloww (a, da, x, n);
@ -305,6 +306,7 @@ do_sincos_1 (double a, double da, double x, int4 n, int4 k)
case 2:
a = -a;
da = -da;
/* Fall through. */
case 0:
xx = a * a;
if (xx < 0.01588)