diff options
author | nsz <nsz@port70.net> | 2012-03-19 19:26:31 +0100 |
---|---|---|
committer | nsz <nsz@port70.net> | 2012-03-19 19:26:31 +0100 |
commit | 2e8c8fbe7d65ba0026cb084dc8570d94cbc908ff (patch) | |
tree | 59b2813cfc9f1e2d36d80d6c8b39c404fc9cdbe7 /src/math | |
parent | c3587effe27a3ac8c1406f064b7705963be9887a (diff) | |
download | musl-2e8c8fbe7d65ba0026cb084dc8570d94cbc908ff.tar.gz musl-2e8c8fbe7d65ba0026cb084dc8570d94cbc908ff.tar.xz musl-2e8c8fbe7d65ba0026cb084dc8570d94cbc908ff.zip |
don't inline __rem_pio2l so the code size is smaller
Diffstat (limited to 'src/math')
-rw-r--r-- | src/math/__rem_pio2l.c (renamed from src/math/__rem_pio2l.h) | 2 | ||||
-rw-r--r-- | src/math/cosl.c | 2 | ||||
-rw-r--r-- | src/math/sincosl.c | 2 | ||||
-rw-r--r-- | src/math/sinl.c | 2 | ||||
-rw-r--r-- | src/math/tanl.c | 2 |
5 files changed, 1 insertions, 9 deletions
diff --git a/src/math/__rem_pio2l.h b/src/math/__rem_pio2l.c index 11123c3f..10af404c 100644 --- a/src/math/__rem_pio2l.h +++ b/src/math/__rem_pio2l.c @@ -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; diff --git a/src/math/cosl.c b/src/math/cosl.c index 2c650cdc..25d9005a 100644 --- a/src/math/cosl.c +++ b/src/math/cosl.c @@ -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; diff --git a/src/math/sincosl.c b/src/math/sincosl.c index 378dc979..e14129a2 100644 --- a/src/math/sincosl.c +++ b/src/math/sincosl.c @@ -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; diff --git a/src/math/sinl.c b/src/math/sinl.c index 0b1aeb75..7e0b44f4 100644 --- a/src/math/sinl.c +++ b/src/math/sinl.c @@ -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; diff --git a/src/math/tanl.c b/src/math/tanl.c index 462ead91..0194eaf7 100644 --- a/src/math/tanl.c +++ b/src/math/tanl.c @@ -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; |