From 5ff8d60ef324b9666c92fc342d143e8074043cd1 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Fri, 20 Dec 2013 15:55:34 +0530 Subject: Remove some redundant computations in s_sin.c There are multiple points in the code where the absolute value of a number is computed multiple times or is computed even though the value can only be positive. This change removes those redundant computations. Tested on x86_64 to verify that there were no regressions in the testsuite. --- ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 9ebb67590b..a8dab6da0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2013-12-20 Siddhesh Poyarekar + + * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly. + (__cos): Likewise. + (sloww1): Don't adjust sign of DX. + (csloww1): Likewise. + (sloww2): Use X directly and don't adjust sign of DX. + (csloww2): Likewise. + 2013-12-19 Joseph Myers * math/auto-libm-test-in: Add tests of cabs and carg. -- cgit v1.2.1