summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/math.h3
-rw-r--r--src/linux/sincos.c8
-rw-r--r--src/linux/sincosf.c8
-rw-r--r--src/linux/sincosl.c8
4 files changed, 0 insertions, 27 deletions
diff --git a/include/math.h b/include/math.h
index e9871516..f320b8e9 100644
--- a/include/math.h
+++ b/include/math.h
@@ -382,9 +382,6 @@ long double ynl(int, long double);
double scalb(double, double);
float scalbf(float, float);
long double scalbl(long double, long double);
-void sincosf(float, float *, float *);
-void sincos(double, double *, double *);
-void sincosl(long double, long double *, long double *);
#endif
#ifdef __cplusplus
diff --git a/src/linux/sincos.c b/src/linux/sincos.c
deleted file mode 100644
index b69ffce9..00000000
--- a/src/linux/sincos.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-void sincos(double t, double *y, double *x)
-{
- *y = sin(t);
- *x = cos(t);
-}
diff --git a/src/linux/sincosf.c b/src/linux/sincosf.c
deleted file mode 100644
index 5d8d4458..00000000
--- a/src/linux/sincosf.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-void sincosf(float t, float *y, float *x)
-{
- *y = sinf(t);
- *x = cosf(t);
-}
diff --git a/src/linux/sincosl.c b/src/linux/sincosl.c
deleted file mode 100644
index 2bfc4862..00000000
--- a/src/linux/sincosl.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-void sincosl(long double t, long double *y, long double *x)
-{
- *y = sinl(t);
- *x = cosl(t);
-}