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:
David 'Digit' Turner
2010-05-19 11:39:16 -07:00
parent 204e82d0af
commit ddd235bd9c
4 changed files with 49 additions and 0 deletions

View File

@@ -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