summaryrefslogtreecommitdiff
path: root/src/linux/sincos.c
blob: b69ffce90126d3ff918abe64e0a5d7afe16cf4cd (plain)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <math.h>

void sincos(double t, double *y, double *x)
{
	*y = sin(t);
	*x = cos(t);
}