@@ -39,7 +39,7 @@ libm_hidden_proto (__issignaling)
libm_hidden_proto (__issignalingf)
libm_hidden_proto (__exp)
libm_hidden_proto (__expf)
-libm_hidden_proto (roundeven)
+libm_hidden_proto (__roundeven)
# ifndef __NO_LONG_DOUBLE_MATH
libm_hidden_proto (__fpclassifyl)
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j0 */
double
-j0 (double x)
+__j0 (double x)
{
if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,14 +34,16 @@ j0 (double x)
return __ieee754_j0 (x);
}
+weak_alias (__j0, j0)
# ifdef NO_LONG_DOUBLE
-weak_alias (j0, j0l)
+strong_alias (__j0, __j0l)
+weak_alias (__j0, j0l)
# endif
/* wrapper y0 */
double
-y0 (double x)
+__y0 (double x)
{
if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_)
@@ -65,7 +67,9 @@ y0 (double x)
return __ieee754_y0 (x);
}
+weak_alias (__y0, y0)
# ifdef NO_LONG_DOUBLE
-weak_alias (y0, y0l)
+strong_alias (__y0, __y0l)
+weak_alias (__y0, y0l)
# endif
#endif
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j0f */
float
-j0f (float x)
+__j0f (float x)
{
if (__builtin_expect (isgreater (fabsf (x), (float) X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,11 +34,12 @@ j0f (float x)
return __ieee754_j0f (x);
}
+weak_alias (__j0f, j0f)
/* wrapper y0f */
float
-y0f (float x)
+__y0f (float x)
{
if (__builtin_expect (islessequal (x, 0.0f)
|| isgreater (x, (float) X_TLOSS), 0)
@@ -63,4 +64,5 @@ y0f (float x)
return __ieee754_y0f (x);
}
+weak_alias (__y0f, y0f)
#endif
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j1 */
double
-j1 (double x)
+__j1 (double x)
{
if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,14 +34,16 @@ j1 (double x)
return __ieee754_j1 (x);
}
+weak_alias (__j1, j1)
# ifdef NO_LONG_DOUBLE
-weak_alias (j1, j1l)
+strong_alias (__j1, __j1l)
+weak_alias (__j1, j1l)
# endif
/* wrapper y1 */
double
-y1 (double x)
+__y1 (double x)
{
if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_)
@@ -65,7 +67,9 @@ y1 (double x)
return __ieee754_y1 (x);
}
+weak_alias (__y1, y1)
# ifdef NO_LONG_DOUBLE
-weak_alias (y1, y1l)
+strong_alias (__y1, __y1l)
+weak_alias (__y1, y1l)
# endif
#endif
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper j1f */
float
-j1f (float x)
+__j1f (float x)
{
if (__builtin_expect (isgreater (fabsf (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,11 +34,12 @@ j1f (float x)
return __ieee754_j1f (x);
}
+weak_alias (__j1f, j1f)
/* wrapper y1f */
float
-y1f (float x)
+__y1f (float x)
{
if (__builtin_expect (islessequal (x, 0.0f)
|| isgreater (x, (float) X_TLOSS), 0)
@@ -63,4 +64,5 @@ y1f (float x)
return __ieee754_y1f (x);
}
+weak_alias (__y1f, y1f)
#endif
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper jn */
double
-jn (int n, double x)
+__jn (int n, double x)
{
if (__builtin_expect (isgreater (fabs (x), X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,14 +34,16 @@ jn (int n, double x)
return __ieee754_jn (n, x);
}
+weak_alias (__jn, jn)
# ifdef NO_LONG_DOUBLE
-weak_alias (jn, jnl)
+strong_alias (__jn, __jnl)
+weak_alias (__jn, jnl)
# endif
/* wrapper yn */
double
-yn (int n, double x)
+__yn (int n, double x)
{
if (__builtin_expect (islessequal (x, 0.0) || isgreater (x, X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_)
@@ -65,7 +67,9 @@ yn (int n, double x)
return __ieee754_yn (n, x);
}
+weak_alias (__yn, yn)
# ifdef NO_LONG_DOUBLE
-weak_alias (yn, ynl)
+strong_alias (__yn, __ynl)
+weak_alias (__yn, ynl)
# endif
#endif
@@ -25,7 +25,7 @@
#if LIBM_SVID_COMPAT
/* wrapper jnf */
float
-jnf (int n, float x)
+__jnf (int n, float x)
{
if (__builtin_expect (isgreater (fabsf (x), (float) X_TLOSS), 0)
&& _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
@@ -34,11 +34,12 @@ jnf (int n, float x)
return __ieee754_jnf (n, x);
}
+weak_alias (__jnf, jnf)
/* wrapper ynf */
float
-ynf (int n, float x)
+__ynf (int n, float x)
{
if (__builtin_expect (islessequal (x, 0.0f)
|| isgreater (x, (float) X_TLOSS), 0)
@@ -63,4 +64,5 @@ ynf (int n, float x)
return __ieee754_ynf (n, x);
}
+weak_alias (__ynf, ynf)
#endif
@@ -1,7 +1,9 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfp
+#define FUNC __fromfp
#include <s_fromfp_main.c>
+weak_alias (__fromfp, fromfp)
#ifdef NO_LONG_DOUBLE
-weak_alias (fromfp, fromfpl)
+strong_alias (__fromfp, __fromfpl)
+weak_alias (__fromfp, fromfpl)
#endif
@@ -1,7 +1,9 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpx
+#define FUNC __fromfpx
#include <s_fromfp_main.c>
+weak_alias (__fromfpx, fromfpx)
#ifdef NO_LONG_DOUBLE
-weak_alias (fromfpx, fromfpxl)
+strong_alias (__fromfpx, __fromfpxl)
+weak_alias (__fromfpx, fromfpxl)
#endif
@@ -22,7 +22,7 @@
#include <stdint.h>
double
-getpayload (const double *x)
+__getpayload (const double *x)
{
uint32_t hx, lx;
EXTRACT_WORDS (hx, lx, *x);
@@ -32,6 +32,8 @@ getpayload (const double *x)
return 0.0f;
return (double) ix;
}
+weak_alias (__getpayload, getpayload)
#ifdef NO_LONG_DOUBLE
-weak_alias (getpayload, getpayloadl)
+strong_alias (__getpayload, __getpayloadl)
+weak_alias (__getpayload, getpayloadl)
#endif
@@ -26,7 +26,7 @@
#define MAX_EXP (2 * BIAS + 1)
double
-roundeven (double x)
+__roundeven (double x)
{
uint32_t hx, lx, uhx;
EXTRACT_WORDS (hx, lx, x);
@@ -100,7 +100,9 @@ roundeven (double x)
INSERT_WORDS (x, hx, lx);
return x;
}
-hidden_def (roundeven)
+hidden_def (__roundeven)
+weak_alias (__roundeven, roundeven)
#ifdef NO_LONG_DOUBLE
-weak_alias (roundeven, roundevenl)
+strong_alias (__roundeven, __roundevenl)
+weak_alias (__roundeven, roundevenl)
#endif
@@ -1,6 +1,8 @@
#define SIG 0
-#define FUNC setpayload
+#define FUNC __setpayload
#include <s_setpayload_main.c>
+weak_alias (__setpayload, setpayload)
#ifdef NO_LONG_DOUBLE
-weak_alias (setpayload, setpayloadl)
+strong_alias (__setpayload, __setpayloadl)
+weak_alias (__setpayload, setpayloadl)
#endif
@@ -1,6 +1,8 @@
#define SIG 1
-#define FUNC setpayloadsig
+#define FUNC __setpayloadsig
#include <s_setpayload_main.c>
+weak_alias (__setpayloadsig, setpayloadsig)
#ifdef NO_LONG_DOUBLE
-weak_alias (setpayloadsig, setpayloadsigl)
+strong_alias (__setpayloadsig, __setpayloadsigl)
+weak_alias (__setpayloadsig, setpayloadsigl)
#endif
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalorder (double x, double y)
+__totalorder (double x, double y)
{
int32_t hx, hy;
uint32_t lx, ly;
@@ -49,6 +49,8 @@ totalorder (double x, double y)
ly ^= hy_sign;
return hx < hy || (hx == hy && lx <= ly);
}
+weak_alias (__totalorder, totalorder)
#ifdef NO_LONG_DOUBLE
-weak_alias (totalorder, totalorderl)
+strong_alias (__totalorder, __totalorderl)
+weak_alias (__totalorder, totalorderl)
#endif
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalordermag (double x, double y)
+__totalordermag (double x, double y)
{
uint32_t hx, hy;
uint32_t lx, ly;
@@ -44,6 +44,8 @@ totalordermag (double x, double y)
#endif
return hx < hy || (hx == hy && lx <= ly);
}
+weak_alias (__totalordermag, totalordermag)
#ifdef NO_LONG_DOUBLE
-weak_alias (totalordermag, totalordermagl)
+strong_alias (__totalordermag, __totalordermagl)
+weak_alias (__totalordermag, totalordermagl)
#endif
@@ -1,7 +1,9 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfp
+#define FUNC __ufromfp
#include <s_fromfp_main.c>
+weak_alias (__ufromfp, ufromfp)
#ifdef NO_LONG_DOUBLE
-weak_alias (ufromfp, ufromfpl)
+strong_alias (__ufromfp, __ufromfpl)
+weak_alias (__ufromfp, ufromfpl)
#endif
@@ -1,7 +1,9 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpx
+#define FUNC __ufromfpx
#include <s_fromfp_main.c>
+weak_alias (__ufromfpx, ufromfpx)
#ifdef NO_LONG_DOUBLE
-weak_alias (ufromfpx, ufromfpxl)
+strong_alias (__ufromfpx, __ufromfpxl)
+weak_alias (__ufromfpx, ufromfpxl)
#endif
@@ -21,13 +21,15 @@
#include <stdint.h>
double
-getpayload (const double *x)
+__getpayload (const double *x)
{
uint64_t ix;
EXTRACT_WORDS64 (ix, *x);
ix &= 0x7ffffffffffffULL;
return (double) ix;
}
+weak_alias (__getpayload, getpayload)
#ifdef NO_LONG_DOUBLE
-weak_alias (getpayload, getpayloadl)
+strong_alias (__getpayload, __getpayloadl)
+weak_alias (__getpayload, getpayloadl)
#endif
@@ -26,7 +26,7 @@
#define MAX_EXP (2 * BIAS + 1)
double
-roundeven (double x)
+__roundeven (double x)
{
uint64_t ix, ux;
EXTRACT_WORDS64 (ix, x);
@@ -66,7 +66,9 @@ roundeven (double x)
INSERT_WORDS64 (x, ix);
return x;
}
-hidden_def (roundeven)
+hidden_def (__roundeven)
+weak_alias (__roundeven, roundeven)
#ifdef NO_LONG_DOUBLE
-weak_alias (roundeven, roundevenl)
+strong_alias (__roundeven, __roundevenl)
+weak_alias (__roundeven, roundevenl)
#endif
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalorder (double x, double y)
+__totalorder (double x, double y)
{
int64_t ix, iy;
EXTRACT_WORDS64 (ix, x);
@@ -45,6 +45,8 @@ totalorder (double x, double y)
iy ^= iy_sign >> 1;
return ix <= iy;
}
+weak_alias (__totalorder, totalorder)
#ifdef NO_LONG_DOUBLE
-weak_alias (totalorder, totalorderl)
+strong_alias (__totalorder, __totalorderl)
+weak_alias (__totalorder, totalorderl)
#endif
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalordermag (double x, double y)
+__totalordermag (double x, double y)
{
uint64_t ix, iy;
EXTRACT_WORDS64 (ix, x);
@@ -42,6 +42,8 @@ totalordermag (double x, double y)
#endif
return ix <= iy;
}
+weak_alias (__totalordermag, totalordermag)
#ifdef NO_LONG_DOUBLE
-weak_alias (totalordermag, totalordermagl)
+strong_alias (__totalordermag, __totalordermagl)
+weak_alias (__totalordermag, totalordermagl)
#endif
@@ -199,6 +199,7 @@
#define __fpclassifyl __fpclassifyf128
#define __frexpl __frexpf128
#define __gammal_r_finite __gammaf128_r_finite
+#define __getpayloadl __getpayloadf128
#define __isinfl __isinff128
#define __isnanl __isnanf128
#define __issignalingl __issignalingf128
@@ -217,6 +218,7 @@
#define __nextupl __nextupf128
#define __remquol __remquof128
#define __rintl __rintf128
+#define __roundevenl __roundevenf128
#define __roundl __roundf128
#define __scalblnl __scalblnf128
#define __scalbnl __scalbnf128
@@ -226,6 +228,8 @@
#define __sqrtl __sqrtf128
#define __tanhl __tanhf128
#define __tanl __tanf128
+#define __totalorderl __totalorderf128
+#define __totalordermagl __totalordermagf128
#define __truncl __truncf128
#define __x2y2m1l __x2y2m1f128
@@ -1,5 +1,6 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfpf128
+#define FUNC __fromfpf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
+weak_alias (__fromfpf128, fromfpf128)
@@ -1,5 +1,6 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpxf128
+#define FUNC __fromfpxf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
+weak_alias (__fromfpxf128, fromfpxf128)
@@ -1,4 +1,5 @@
#include <float128_private.h>
#define SIG 0
-#define FUNC setpayloadf128
+#define FUNC __setpayloadf128
#include "../ldbl-128/s_setpayloadl_main.c"
+weak_alias (__setpayloadf128, setpayloadf128)
@@ -1,4 +1,5 @@
#include <float128_private.h>
#define SIG 1
-#define FUNC setpayloadsigf128
+#define FUNC __setpayloadsigf128
#include "../ldbl-128/s_setpayloadl_main.c"
+weak_alias (__setpayloadsigf128, setpayloadsigf128)
@@ -1,5 +1,6 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfpf128
+#define FUNC __ufromfpf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
+weak_alias (__ufromfpf128, ufromfpf128)
@@ -1,5 +1,6 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpxf128
+#define FUNC __ufromfpxf128
#include <float128_private.h>
#include "../ldbl-128/s_fromfpl_main.c"
+weak_alias (__ufromfpxf128, ufromfpxf128)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfpf
+#define FUNC __fromfpf
#include <s_fromfpf_main.c>
+weak_alias (__fromfpf, fromfpf)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpxf
+#define FUNC __fromfpxf
#include <s_fromfpf_main.c>
+weak_alias (__fromfpxf, fromfpxf)
@@ -22,7 +22,7 @@
#include <stdint.h>
float
-getpayloadf (const float *x)
+__getpayloadf (const float *x)
{
uint32_t ix;
GET_FLOAT_WORD (ix, *x);
@@ -31,3 +31,4 @@ getpayloadf (const float *x)
return 0.0f;
return (float) ix;
}
+weak_alias (__getpayloadf, getpayloadf)
@@ -26,7 +26,7 @@
#define MAX_EXP (2 * BIAS + 1)
float
-roundevenf (float x)
+__roundevenf (float x)
{
uint32_t ix, ux;
GET_FLOAT_WORD (ix, x);
@@ -66,3 +66,4 @@ roundevenf (float x)
SET_FLOAT_WORD (x, ix);
return x;
}
+weak_alias (__roundevenf, roundevenf)
@@ -1,3 +1,4 @@
#define SIG 0
-#define FUNC setpayloadf
+#define FUNC __setpayloadf
#include <s_setpayloadf_main.c>
+weak_alias (__setpayloadf, setpayloadf)
@@ -1,3 +1,4 @@
#define SIG 1
-#define FUNC setpayloadsigf
+#define FUNC __setpayloadsigf
#include <s_setpayloadf_main.c>
+weak_alias (__setpayloadsigf, setpayloadsigf)
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalorderf (float x, float y)
+__totalorderf (float x, float y)
{
int32_t ix, iy;
GET_FLOAT_WORD (ix, x);
@@ -44,3 +44,4 @@ totalorderf (float x, float y)
iy ^= iy_sign >> 1;
return ix <= iy;
}
+weak_alias (__totalorderf, totalorderf)
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalordermagf (float x, float y)
+__totalordermagf (float x, float y)
{
uint32_t ix, iy;
GET_FLOAT_WORD (ix, x);
@@ -42,3 +42,4 @@ totalordermagf (float x, float y)
#endif
return ix <= iy;
}
+weak_alias (__totalordermagf, totalordermagf)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfpf
+#define FUNC __ufromfpf
#include <s_fromfpf_main.c>
+weak_alias (__ufromfpf, ufromfpf)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpxf
+#define FUNC __ufromfpxf
#include <s_fromfpf_main.c>
+weak_alias (__ufromfpxf, ufromfpxf)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfpl
+#define FUNC __fromfpl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpl, fromfpl)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpxl
+#define FUNC __fromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpxl, fromfpxl)
@@ -21,7 +21,7 @@
#include <stdint.h>
_Float128
-getpayloadl (const _Float128 *x)
+__getpayloadl (const _Float128 *x)
{
uint64_t hx, lx;
GET_LDOUBLE_WORDS64 (hx, lx, *x);
@@ -55,3 +55,4 @@ getpayloadl (const _Float128 *x)
SET_LDOUBLE_WORDS64 (ret, hx, lx);
return ret;
}
+weak_alias (__getpayloadl, getpayloadl)
@@ -26,7 +26,7 @@
#define MAX_EXP (2 * BIAS + 1)
_Float128
-roundevenl (_Float128 x)
+__roundevenl (_Float128 x)
{
uint64_t hx, lx, uhx;
GET_LDOUBLE_WORDS64 (hx, lx, x);
@@ -100,3 +100,4 @@ roundevenl (_Float128 x)
SET_LDOUBLE_WORDS64 (x, hx, lx);
return x;
}
+weak_alias (__roundevenl, roundevenl)
@@ -1,3 +1,4 @@
#define SIG 0
-#define FUNC setpayloadl
+#define FUNC __setpayloadl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadl, setpayloadl)
@@ -1,3 +1,4 @@
#define SIG 1
-#define FUNC setpayloadsigl
+#define FUNC __setpayloadsigl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadsigl, setpayloadsigl)
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalorderl (_Float128 x, _Float128 y)
+__totalorderl (_Float128 x, _Float128 y)
{
int64_t hx, hy;
uint64_t lx, ly;
@@ -52,3 +52,4 @@ totalorderl (_Float128 x, _Float128 y)
ly ^= hy_sign;
return hx < hy || (hx == hy && lx <= ly);
}
+weak_alias (__totalorderl, totalorderl)
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalordermagl (_Float128 x, _Float128 y)
+__totalordermagl (_Float128 x, _Float128 y)
{
uint64_t hx, hy;
uint64_t lx, ly;
@@ -46,3 +46,4 @@ totalordermagl (_Float128 x, _Float128 y)
#endif
return hx < hy || (hx == hy && lx <= ly);
}
+weak_alias (__totalordermagl, totalordermagl)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfpl
+#define FUNC __ufromfpl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpl, ufromfpl)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpxl
+#define FUNC __ufromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpxl, ufromfpxl)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfpl
+#define FUNC __fromfpl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpl, fromfpl)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpxl
+#define FUNC __fromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpxl, fromfpxl)
@@ -22,7 +22,7 @@
#include <stdint.h>
long double
-getpayloadl (const long double *x)
+__getpayloadl (const long double *x)
{
double xhi = ldbl_high (*x);
uint64_t ix;
@@ -32,3 +32,4 @@ getpayloadl (const long double *x)
return 0.0L;
return (long double) ix;
}
+weak_alias (__getpayloadl, getpayloadl)
@@ -21,7 +21,7 @@
#include <math_private.h>
long double
-roundevenl (long double x)
+__roundevenl (long double x)
{
double xh, xl, hi;
@@ -29,7 +29,7 @@ roundevenl (long double x)
if (xh != 0 && isfinite (xh))
{
- hi = roundeven (xh);
+ hi = __roundeven (xh);
if (hi != xh)
{
/* The high part is not an integer; the low part only
@@ -56,7 +56,7 @@ roundevenl (long double x)
part to nearest, ties round to even, is always correct,
as a high part that is an odd integer together with a low
part with magnitude 0.5 is not a valid long double. */
- xl = roundeven (xl);
+ xl = __roundeven (xl);
xh = hi;
ldbl_canonicalize_int (&xh, &xl);
}
@@ -67,3 +67,4 @@ roundevenl (long double x)
return ldbl_pack (xh, xl);
}
+weak_alias (__roundevenl, roundevenl)
@@ -1,3 +1,4 @@
#define SIG 0
-#define FUNC setpayloadl
+#define FUNC __setpayloadl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadl, setpayloadl)
@@ -1,3 +1,4 @@
#define SIG 1
-#define FUNC setpayloadsigl
+#define FUNC __setpayloadsigl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadsigl, setpayloadsigl)
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalorderl (long double x, long double y)
+__totalorderl (long double x, long double y)
{
double xhi, xlo, yhi, ylo;
int64_t hx, hy, lx, ly;
@@ -60,3 +60,4 @@ totalorderl (long double x, long double y)
ly ^= ly_sign >> 1;
return lx <= ly;
}
+weak_alias (__totalorderl, totalorderl)
@@ -22,7 +22,7 @@
#include <stdint.h>
int
-totalordermagl (long double x, long double y)
+__totalordermagl (long double x, long double y)
{
double xhi, xlo, yhi, ylo;
int64_t hx, hy, lx, ly;
@@ -62,3 +62,4 @@ totalordermagl (long double x, long double y)
ly ^= ly_sign >> 1;
return lx <= ly;
}
+weak_alias (__totalordermagl, totalordermagl)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfpl
+#define FUNC __ufromfpl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpl, ufromfpl)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpxl
+#define FUNC __ufromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpxl, ufromfpxl)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 0
-#define FUNC fromfpl
+#define FUNC __fromfpl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpl, fromfpl)
@@ -1,4 +1,5 @@
#define UNSIGNED 0
#define INEXACT 1
-#define FUNC fromfpxl
+#define FUNC __fromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__fromfpxl, fromfpxl)
@@ -21,7 +21,7 @@
#include <stdint.h>
long double
-getpayloadl (const long double *x)
+__getpayloadl (const long double *x)
{
uint16_t se __attribute__ ((unused));
uint32_t hx, lx;
@@ -30,3 +30,4 @@ getpayloadl (const long double *x)
uint64_t ix = ((uint64_t) hx << 32) | lx;
return (long double) ix;
}
+weak_alias (__getpayloadl, getpayloadl)
@@ -26,7 +26,7 @@
#define MAX_EXP (2 * BIAS + 1)
long double
-roundevenl (long double x)
+__roundevenl (long double x)
{
uint16_t se;
uint32_t hx, lx;
@@ -122,3 +122,4 @@ roundevenl (long double x)
SET_LDOUBLE_WORDS (x, se, hx, lx);
return x;
}
+weak_alias (__roundevenl, roundevenl)
@@ -1,3 +1,4 @@
#define SIG 0
-#define FUNC setpayloadl
+#define FUNC __setpayloadl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadl, setpayloadl)
@@ -1,3 +1,4 @@
#define SIG 1
-#define FUNC setpayloadsigl
+#define FUNC __setpayloadsigl
#include <s_setpayloadl_main.c>
+weak_alias (__setpayloadsigl, setpayloadsigl)
@@ -23,7 +23,7 @@
#include <stdint.h>
int
-totalorderl (long double x, long double y)
+__totalorderl (long double x, long double y)
{
int16_t expx, expy;
uint32_t hx, hy;
@@ -55,3 +55,4 @@ totalorderl (long double x, long double y)
ly ^= y_sign;
return expx < expy || (expx == expy && (hx < hy || (hx == hy && lx <= ly)));
}
+weak_alias (__totalorderl, totalorderl)
@@ -23,7 +23,7 @@
#include <stdint.h>
int
-totalordermagl (long double x, long double y)
+__totalordermagl (long double x, long double y)
{
uint16_t expx, expy;
uint32_t hx, hy;
@@ -49,3 +49,4 @@ totalordermagl (long double x, long double y)
#endif
return expx < expy || (expx == expy && (hx < hy || (hx == hy && lx <= ly)));
}
+weak_alias (__totalordermagl, totalordermagl)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 0
-#define FUNC ufromfpl
+#define FUNC __ufromfpl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpl, ufromfpl)
@@ -1,4 +1,5 @@
#define UNSIGNED 1
#define INEXACT 1
-#define FUNC ufromfpxl
+#define FUNC __ufromfpxl
#include <s_fromfpl_main.c>
+weak_alias (__ufromfpxl, ufromfpxl)