about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-06 00:33:54 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-06 00:33:54 +0530
commitb8b7e5e644363f9ab6ea6df5d4a44389d28e5450 (patch)
tree8689ddda02d6d233a2f24b87c61942358847c546 /string
parent8028566ed9418ffa5070c60b5a477ed45653469b (diff)
downloadglibc-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 'string')
0 files changed, 0 insertions, 0 deletions