workaround gcc bug 46926 by providing a dumb sincos implementation
[musl] / src / linux / sincos.c
1 #define _GNU_SOURCE
2 #include <math.h>
3
4 void sincos(double t, double *y, double *x)
5 {
6         *y = sin(t);
7         *x = cos(t);
8 }