diff options
author | Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org> | 2015-12-21 10:41:46 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org> | 2015-12-21 10:41:46 +0530 |
commit | f7953c44d545c91442f123300288853284501dab (patch) | |
tree | aeb5c53572f6b49895fc03b5f8a84cf727d0e369 /ChangeLog | |
parent | a045832debe4191bcffed6e539a5470152e9c9e8 (diff) | |
download | glibc-f7953c44d545c91442f123300288853284501dab.tar.gz glibc-f7953c44d545c91442f123300288853284501dab.tar.xz glibc-f7953c44d545c91442f123300288853284501dab.zip |
Consolidate sin and cos code for 105414350 <|x|< 281474976710656
The sin and cos computation for this range of input is identical except for a difference in quadrants by 1. Exploit that fact and the common argument reduction to reduce computations for sincos.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c8281dd059..2228769d6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org> + * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common + code to new functions. + (reduce_sincos_2, do_sincos_2): New functions. + * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them. + * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip common code for sincos. (__cos) [!IN_SINCOS]: Likewise. |