Make sincosl call sinl and cosl.
Bug: 2748728 Change-Id: Id18070963b91b144758c567ad7ac80758e3a638b
This commit is contained in:
parent
ae70b94674
commit
9b05df325c
@ -35,20 +35,17 @@
|
|||||||
// Thus we just enforce -O0 when compiling this file.
|
// Thus we just enforce -O0 when compiling this file.
|
||||||
#pragma GCC optimize ("O0")
|
#pragma GCC optimize ("O0")
|
||||||
|
|
||||||
void sincos(double x, double *psin, double *pcos)
|
void sincos(double x, double* p_sin, double* p_cos) {
|
||||||
{
|
*p_sin = sin(x);
|
||||||
*psin = sin(x);
|
*p_cos = cos(x);
|
||||||
*pcos = cos(x);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void sincosf(float x, float *psin, float *pcos)
|
void sincosf(float x, float* p_sinf, float* p_cosf) {
|
||||||
{
|
*p_sinf = sinf(x);
|
||||||
*psin = sinf(x);
|
*p_cosf = cosf(x);
|
||||||
*pcos = cosf(x);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void sincosl(long double x, long double *psin, long double *pcos)
|
void sincosl(long double x, long double* p_sinl, long double* p_cosl) {
|
||||||
{
|
*p_sinl = sinl(x);
|
||||||
*psin = sin(x);
|
*p_cosl = cosl(x);
|
||||||
*pcos = cos(x);
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user