Consolidate reduce_and_compute code
commit32efd690bd9ab8cb55d185bf5b0a1a3c0e539120
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 30 Aug 2016 07:21:39 +0000 (30 12:51 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 30 Aug 2016 07:21:39 +0000 (30 12:51 +0530)
tree8603756e3dd981d57cdd6ac5fe42c80005f77c10
parentfeb62ddacb7b1d772d7383de0228a3977f07fc1e
Consolidate reduce_and_compute code

This patch reshuffles the reduce_and_compute code so that the
structure matches other code structures of the same type elsewhere in
s_sin.c and s_sincos.c.  This is the beginning of an attempt to
consolidate and reduce code duplication in functions in s_sin.c to
make it easier to read and possibly also easier for the compiler to
optimize.

* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
Consolidate switch cases 0 and 2.
ChangeLog
sysdeps/ieee754/dbl-64/s_sin.c