mirror of git://git.musl-libc.org/musl
remove junk sincos implementations in preparation to merge nsz's real ones
This commit is contained in:
parent
a43c3a337f
commit
2cbb24bba3
|
@ -382,9 +382,6 @@ long double ynl(int, long double);
|
||||||
double scalb(double, double);
|
double scalb(double, double);
|
||||||
float scalbf(float, float);
|
float scalbf(float, float);
|
||||||
long double scalbl(long double, long double);
|
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
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#define _GNU_SOURCE
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
void sincos(double t, double *y, double *x)
|
|
||||||
{
|
|
||||||
*y = sin(t);
|
|
||||||
*x = cos(t);
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
#define _GNU_SOURCE
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
void sincosf(float t, float *y, float *x)
|
|
||||||
{
|
|
||||||
*y = sinf(t);
|
|
||||||
*x = cosf(t);
|
|
||||||
}
|
|
|
@ -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);
|
|
||||||
}
|
|
Loading…
Reference in New Issue