don't inline __rem_pio2l so the code size is smaller

This commit is contained in:
nsz 2012-03-19 19:26:31 +01:00
parent c3587effe2
commit 2e8c8fbe7d
6 changed files with 2 additions and 9 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;