about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/internal/libm.h1
-rw-r--r--src/math/__rem_pio2l.c (renamed from src/math/__rem_pio2l.h)2
-rw-r--r--src/math/cosl.c2
-rw-r--r--src/math/sincosl.c2
-rw-r--r--src/math/sinl.c2
-rw-r--r--src/math/tanl.c2
6 files changed, 2 insertions, 9 deletions
diff --git a/src/internal/libm.h b/src/internal/libm.h
index 2092763e..67c42b98 100644
--- a/src/internal/libm.h
+++ b/src/internal/libm.h
@@ -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);
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;