diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-20 16:01:03 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-12-20 16:01:03 +0530 |
commit | 392dd2de03c054b1b32358561570be14f55e9ae9 (patch) | |
tree | c24ce31b2024466541a1f4e9619c681bdba8bf30 /math | |
parent | 84ba214c2197586bc80631dd6d6110a3bbaab7bf (diff) | |
download | glibc-392dd2de03c054b1b32358561570be14f55e9ae9.zip glibc-392dd2de03c054b1b32358561570be14f55e9ae9.tar.gz glibc-392dd2de03c054b1b32358561570be14f55e9ae9.tar.bz2 |
Consolidate code to compute sin and cos from lookup tables
This patch consolidates the multiple copies of code that looks up sin
and cos of a number from the lookup table and computes the final
value, into static functions. This does not have a noticeable
performance impact since the functions are inlined by gcc.
There is further scope for consolidation in the functions but they
cause a more noticable impact on performance (>5%) due to which I have
held back on them.
Diffstat (limited to 'math')
0 files changed, 0 insertions, 0 deletions