aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-06 12:57:07 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-06 12:57:07 +0530
commit9cb069308c833d98b1ba9c78cb41cff0e90f323d (patch)
tree3f7d9a19b2f647e997421da260019c304dcd433e /sysdeps/ieee754
parentead1ef37d2c3cd998dffb803c43a4fc2d08537ff (diff)
downloadglibc-9cb069308c833d98b1ba9c78cb41cff0e90f323d.zip
glibc-9cb069308c833d98b1ba9c78cb41cff0e90f323d.tar.gz
glibc-9cb069308c833d98b1ba9c78cb41cff0e90f323d.tar.bz2
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.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/s_sincos.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_sincos.c b/sysdeps/ieee754/dbl-64/s_sincos.c
index c389226..ca44b90 100644
--- a/sysdeps/ieee754/dbl-64/s_sincos.c
+++ b/sysdeps/ieee754/dbl-64/s_sincos.c
@@ -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;
}