diff options
Diffstat (limited to 'src/linux/sincosl.c')
-rw-r--r-- | src/linux/sincosl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/linux/sincosl.c b/src/linux/sincosl.c new file mode 100644 index 00000000..2bfc4862 --- /dev/null +++ b/src/linux/sincosl.c @@ -0,0 +1,8 @@ +#define _GNU_SOURCE +#include <math.h> + +void sincosl(long double t, long double *y, long double *x) +{ + *y = sinl(t); + *x = cosl(t); +} |