Add sincos() and sincosf() implementation.
This is a GLibc-compatibility patch required to simplify our
upcoming toolchain work/porting.
Change-Id: I615a20a449763f86b6e2b0e4f5ab43fb029ceb6d
diff --git a/libm/include/math.h b/libm/include/math.h
index ef6a9e6..6c0d4eb 100644
--- a/libm/include/math.h
+++ b/libm/include/math.h
@@ -480,6 +480,12 @@
#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