about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2016-09-30 05:17:55 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2016-09-30 05:17:55 +0530
commit3459931a1aed87b78a521b0eb931a465c1d101b2 (patch)
tree804837fcf53d509811f8d2cefb05185ccc03042a /ChangeLog
parenta87b5e95adb97ffd33b2d15cf1a29221e4214500 (diff)
downloadglibc-3459931a1aed87b78a521b0eb931a465c1d101b2.tar.gz
glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.tar.xz
glibc-3459931a1aed87b78a521b0eb931a465c1d101b2.zip
Use copysign instead of ternary conditions for positive constants
This is the first very simple substitution of ternary conditions for
correction adjustments with __copysign for positive constants.

	* sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
	instead of ternary condition.
	(do_sin_slow): Likewise.
	(do_sincos_1): Likewise.
	(do_sincos_2): Likewise.
	(__cos): Likewise.
	(sloww): Likewise.
	(sloww1): Likewise.
	(sloww2): Likewise.
	(bsloww): Likewise.
	(bsloww1): Likewise.
	(bsloww2): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f5ac7257e..7f51edd866 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
+	* sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
+	instead of ternary condition.
+	(do_sin_slow): Likewise.
+	(do_sincos_1): Likewise.
+	(do_sincos_2): Likewise.
+	(__cos): Likewise.
+	(sloww): Likewise.
+	(sloww1): Likewise.
+	(sloww2): Likewise.
+	(bsloww): Likewise.
+	(bsloww1): Likewise.
+	(bsloww2): Likewise.
+
 	* sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
 	check from here...
 	(slow2): ... and here...