提交 007c03f8 编写于 作者: R Rich Felker

fix missing prototype and simplify sincosl on ld64 archs

上级 fe2df4ad
#define _GNU_SOURCE
#include "libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
void sincosl(long double x, long double *sin, long double *cos)
{
double s, c;
sincos(x, &s, &c);
*sin = s;
*cos = c;
sincos(x, (double *)sin, (double *)cos);
}
#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
void sincosl(long double x, long double *sin, long double *cos)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册