Browse Source

remove junk sincos implementations in preparation to merge nsz's real ones

Rich Felker 13 years ago
parent
commit
2cbb24bba3
4 changed files with 0 additions and 27 deletions
  1. 0 3
      include/math.h
  2. 0 8
      src/linux/sincos.c
  3. 0 8
      src/linux/sincosf.c
  4. 0 8
      src/linux/sincosl.c

+ 0 - 3
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

+ 0 - 8
src/linux/sincos.c

@@ -1,8 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-void sincos(double t, double *y, double *x)
-{
-	*y = sin(t);
-	*x = cos(t);
-}

+ 0 - 8
src/linux/sincosf.c

@@ -1,8 +0,0 @@
-#define _GNU_SOURCE
-#include <math.h>
-
-void sincosf(float t, float *y, float *x)
-{
-	*y = sinf(t);
-	*x = cosf(t);
-}

+ 0 - 8
src/linux/sincosl.c

@@ -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);
-}