X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsincosl.c;h=d632fe6f3be0d321498e0d5c8e6fefcbe71858f4;hb=5652d70054daf3c2c9b6d475fdf9d24a940e51aa;hp=378dc9795be3c2f1797a957f657fa51407f68bb5;hpb=93a50a26cd0f9efc59cc83daae7b2d916b327ab1;p=musl diff --git a/src/math/sincosl.c b/src/math/sincosl.c index 378dc979..d632fe6f 100644 --- a/src/math/sincosl.c +++ b/src/math/sincosl.c @@ -1,16 +1,12 @@ +#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 -#include "__rem_pio2l.h" - void sincosl(long double x, long double *sin, long double *cos) { union IEEEl2bits u;