commit | f56f2ab5689dd12382168ccf632402f05ac5d1f8 | [log] [tgz] |
---|---|---|
author | Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> | Thu Jul 25 10:22:13 2013 +0530 |
committer | Amit Pundir <amit.pundir@linaro.org> | Thu Jul 25 10:22:13 2013 +0530 |
tree | 7f55b0c7edf627e4b012fa38cb6641ce8333c64a | |
parent | f3da0666381c671edb7f7dd8da7c6e3f8cec84d5 [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: Amit Pundir <amit.pundir@linaro.org>