提交 2cbb24bb 编写于 作者: R Rich Felker

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

上级 a43c3a33
......@@ -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
......
#define _GNU_SOURCE
#include <math.h>
void sincos(double t, double *y, double *x)
{
*y = sin(t);
*x = cos(t);
}
#define _GNU_SOURCE
#include <math.h>
void sincosf(float t, float *y, float *x)
{
*y = sinf(t);
*x = cosf(t);
}
#define _GNU_SOURCE
#include <math.h>
void sincosl(long double t, long double *y, long double *x)
{
*y = sinl(t);
*x = cosl(t);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册