Add sincos() and sincosf() implementation.
This is a GLibc-compatibility patch required to simplify our upcoming toolchain work/porting. Change-Id: I615a20a449763f86b6e2b0e4f5ab43fb029ceb6d
This commit is contained in:
@@ -480,6 +480,12 @@ long double tgammal(long double);
|
||||
#endif
|
||||
long double truncl(long double);
|
||||
|
||||
/* BIONIC: GLibc compatibility - required by the ARM toolchain */
|
||||
#ifdef _GNU_SOURCE
|
||||
void sincos(double x, double *sin, double *cos);
|
||||
void sincosf(float x, float *sin, float *cos);
|
||||
#endif
|
||||
|
||||
/* #endif */ /* __ISO_C_VISIBLE >= 1999 */
|
||||
__END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user