remove junk sincos implementations in preparation to merge nsz's real ones
authorRich Felker <dalias@aerifal.cx>
Sat, 17 Mar 2012 00:53:05 +0000 (20:53 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 17 Mar 2012 00:53:05 +0000 (20:53 -0400)
include/math.h
src/linux/sincos.c [deleted file]
src/linux/sincosf.c [deleted file]
src/linux/sincosl.c [deleted file]

index e98715166be65c19941ae1fa6dc26c6c870df57f..f320b8e9409536d09699b33603099e90d7a5af52 100644 (file)
@@ -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 (file)
index b69ffce..0000000
+++ /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 (file)
index 5d8d445..0000000
+++ /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 (file)
index 2bfc486..0000000
+++ /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);
-}