commit | 0c54415c24b4fa3a96b2eae10e7311d70a526ba4 | [log] [tgz] |
---|---|---|
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | Tue Dec 27 02:05:35 2011 +0059 |
committer | Andrew Sutherland <dr3wsuth3rland@gmail.com> | Wed Nov 14 13:41:19 2012 -0600 |
tree | 599daeeecf4f7a1922fcfc00c491e801519a0d91 | |
parent | 631a0382a26d3f3dc72b8496f1861732919f7cff [diff] |
libm: Add a proper sincos() implementation Add a proper sincos() implementation that unifies the common calculations for sin and cos instead of running them twice. This should cause a speedup even in code not using that (fairly uncommon) function because gcc can optimize separate sin() and cos() calls into sincos() calls. Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Change-Id: I644578ab443506c7404d2638d6d4917ff6c96f20