mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-14 04:50:18 +00:00
Adjust calls to do_sincos_1 and do_sincos_2 in s_sincos.c
Adjust calls to do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant instead of the numeric 0 and 1. This does not affect codegen.
This commit is contained in:
parent
ead1ef37d2
commit
9cb069308c
@ -1,5 +1,8 @@
|
||||
2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
|
||||
do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
|
||||
|
||||
* sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
|
||||
K boolean and rename it.
|
||||
(__sin): Adjust.
|
||||
|
@ -80,8 +80,8 @@ __sincos (double x, double *sinx, double *cosx)
|
||||
double a, da;
|
||||
int4 n = reduce_sincos_1 (x, &a, &da);
|
||||
|
||||
*sinx = do_sincos_1 (a, da, x, n, 0);
|
||||
*cosx = do_sincos_1 (a, da, x, n, 1);
|
||||
*sinx = do_sincos_1 (a, da, x, n, false);
|
||||
*cosx = do_sincos_1 (a, da, x, n, true);
|
||||
|
||||
return;
|
||||
}
|
||||
@ -90,8 +90,8 @@ __sincos (double x, double *sinx, double *cosx)
|
||||
double a, da;
|
||||
int4 n = reduce_sincos_2 (x, &a, &da);
|
||||
|
||||
*sinx = do_sincos_2 (a, da, x, n, 0);
|
||||
*cosx = do_sincos_2 (a, da, x, n, 1);
|
||||
*sinx = do_sincos_2 (a, da, x, n, false);
|
||||
*cosx = do_sincos_2 (a, da, x, n, true);
|
||||
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user