commit | a6507129e9f9dbf0e6839a3a10f901c71f6e6ab0 | [log] [tgz] |
---|---|---|
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | Tue Dec 27 02:05:35 2011 +0059 |
committer | Paul Mongold <pmongold@gmail.com> | Thu Jul 12 21:57:13 2012 -0400 |
tree | cee7d345a19973b820f319dd5d5dec89eb9e3334 | |
parent | e25bd3e726f141bd3bdba545e833e27f13245e19 [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