am 33e4365d: am 1bf83555: Merge "Make sincosl call sinl and cosl."

# Via Android Git Automerger (1) and others
* commit '33e4365d87364d8d9c8c4427255050b5e9b8cffe':
  Make sincosl call sinl and cosl.
This commit is contained in:
Elliott Hughes 2013-02-04 11:29:26 -08:00 committed by Android Git Automerger
commit 46b3f0bb97

View File

@ -35,20 +35,17 @@
// Thus we just enforce -O0 when compiling this file.
#pragma GCC optimize ("O0")
void sincos(double x, double *psin, double *pcos)
{
*psin = sin(x);
*pcos = cos(x);
void sincos(double x, double* p_sin, double* p_cos) {
*p_sin = sin(x);
*p_cos = cos(x);
}
void sincosf(float x, float *psin, float *pcos)
{
*psin = sinf(x);
*pcos = cosf(x);
void sincosf(float x, float* p_sinf, float* p_cosf) {
*p_sinf = sinf(x);
*p_cosf = cosf(x);
}
void sincosl(long double x, long double *psin, long double *pcos)
{
*psin = sin(x);
*pcos = cos(x);
void sincosl(long double x, long double* p_sinl, long double* p_cosl) {
*p_sinl = sinl(x);
*p_cosl = cosl(x);
}