be enabled.
Change-Id: I19671a407dc96a92417c719da938ee0c1669bfb8
- <pthread.h>: Add reader/writer locks implementation.
-- <math.h>: Added sincos() and sincosf() (GLibc compatibility).
+- <math.h>: Added sincos(), sincosf() and sincosl() (GLibc compatibility).
- <sys/sysinfo.h>: Added missing sysinfo() system call implementation
(the function was already declared in the header though).
#ifdef _GNU_SOURCE
void sincos(double x, double *sin, double *cos);
void sincosf(float x, float *sin, float *cos);
+void sincosl(long double x, long double *sin, long double *cos);
#endif
/* #endif */ /* __ISO_C_VISIBLE >= 1999 */
*psin = sinf(x);
*pcos = cosf(x);
}
+
+void sincosl(long double x, long double *psin, long double *pcos)
+{
+ *psin = sin(x);
+ *pcos = cos(x);
+}