diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-10-06 00:33:54 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2016-10-06 00:33:54 +0530 |
commit | b8b7e5e644363f9ab6ea6df5d4a44389d28e5450 (patch) | |
tree | 8689ddda02d6d233a2f24b87c61942358847c546 /ChangeLog | |
parent | 8028566ed9418ffa5070c60b5a477ed45653469b (diff) | |
download | glibc-b8b7e5e644363f9ab6ea6df5d4a44389d28e5450.tar.gz glibc-b8b7e5e644363f9ab6ea6df5d4a44389d28e5450.tar.xz glibc-b8b7e5e644363f9ab6ea6df5d4a44389d28e5450.zip |
Make the quadrant shift K a bool in do_sincos_* functions
The do_sincos_* functions are helpers to compute sin/cos, where they get cosine by computing sine for the next quadrant. This is decided with the value of K passed to it, which is the amount by which to shift the quadrant. Since we will only need the shift to be 0 or 1, we make K a bool to make that explicit. * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to SHIFT_QUADRANT and make it bool. (do_sincos_2): Likewise. (sloww): Likewise. (sloww1): Likewise. (__sin): Adjust calls to do_sincos_1 and do_sincos_2. (__cos): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index ccdffd77e7..ff38c6eb14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org> + + * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to + SHIFT_QUADRANT and make it bool. + (do_sincos_2): Likewise. + (sloww): Likewise. + (sloww1): Likewise. + (__sin): Adjust calls to do_sincos_1 and do_sincos_2. + (__cos): Likewise. + 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated. |