X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fsincosl.c;h=d632fe6f3be0d321498e0d5c8e6fefcbe71858f4;hb=04ccbdca6d88738e23e0d6a622ad33854c468646;hp=e14129a23361566e3600b91347ac6726d9f2f9a5;hpb=634c3a63027aa4a693b64fae0e2f6e1635558e93;p=musl diff --git a/src/math/sincosl.c b/src/math/sincosl.c index e14129a2..d632fe6f 100644 --- a/src/math/sincosl.c +++ b/src/math/sincosl.c @@ -1,12 +1,10 @@ +#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)