aboutsummaryrefslogtreecommitdiff
path: root/locale/nl_langinfo_l.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-20 16:01:03 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-12-20 16:01:03 +0530
commit392dd2de03c054b1b32358561570be14f55e9ae9 (patch)
treec24ce31b2024466541a1f4e9619c681bdba8bf30 /locale/nl_langinfo_l.c
parent84ba214c2197586bc80631dd6d6110a3bbaab7bf (diff)
downloadglibc-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 'locale/nl_langinfo_l.c')
0 files changed, 0 insertions, 0 deletions