mirror of
https://git.musl-libc.org/git/musl
synced 2025-03-15 07:02:52 +03:00
don't inline __rem_pio2l so the code size is smaller
This commit is contained in:
parent
c3587effe2
commit
2e8c8fbe7d
@ -135,6 +135,7 @@ float __tandf(double,int);
|
||||
float __expo2f(float);
|
||||
float complex __ldexp_cexpf(float complex,int);
|
||||
|
||||
int __rem_pio2l(long double, long double *);
|
||||
long double __sinl(long double, long double, int);
|
||||
long double __cosl(long double, long double);
|
||||
long double __tanl(long double, long double, int);
|
||||
|
@ -44,7 +44,7 @@ pio2_1t = -1.07463465549719416346e-12L, /* -0x973dcb3b399d747f.0p-103 */
|
||||
pio2_2t = 6.36831716351095013979e-25L, /* 0xc51701b839a25205.0p-144 */
|
||||
pio2_3t = -2.75299651904407171810e-37L; /* -0xbb5bf6c7ddd660ce.0p-185 */
|
||||
|
||||
static inline int __rem_pio2l(long double x, long double *y)
|
||||
int __rem_pio2l(long double x, long double *y)
|
||||
{
|
||||
union IEEEl2bits u,u1;
|
||||
long double z,w,t,r,fn;
|
@ -36,8 +36,6 @@ long double cosl(long double x) {
|
||||
return cos(x);
|
||||
}
|
||||
#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
|
||||
#include "__rem_pio2l.h"
|
||||
|
||||
long double cosl(long double x)
|
||||
{
|
||||
union IEEEl2bits z;
|
||||
|
@ -9,8 +9,6 @@ void sincosl(long double x, long double *sin, long double *cos)
|
||||
*cos = c;
|
||||
}
|
||||
#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;
|
||||
|
@ -34,8 +34,6 @@ long double sinl(long double x)
|
||||
return sin(x);
|
||||
}
|
||||
#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
|
||||
#include "__rem_pio2l.h"
|
||||
|
||||
long double sinl(long double x)
|
||||
{
|
||||
union IEEEl2bits z;
|
||||
|
@ -38,8 +38,6 @@ long double tanl(long double x)
|
||||
return tan(x);
|
||||
}
|
||||
#elif (LDBL_MANT_DIG == 64 || LDBL_MANT_DIG == 113) && LDBL_MAX_EXP == 16384
|
||||
#include "__rem_pio2l.h"
|
||||
|
||||
long double tanl(long double x)
|
||||
{
|
||||
union IEEEl2bits z;
|
||||
|
Loading…
x
Reference in New Issue
Block a user