diff options
Diffstat (limited to 'REORG.TODO/sysdeps/ieee754/ldbl-64-128')
42 files changed, 337 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c new file mode 100644 index 0000000000..75a38e13ce --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/e_ilogbl.c @@ -0,0 +1,2 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/ldbl-128/e_ilogbl.c> diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_asinhl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_asinhl.c new file mode 100644 index 0000000000..4e8a541263 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_asinhl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_asinhl.c> +long_double_symbol (libm, __asinhl, asinhl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_atanl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_atanl.c new file mode 100644 index 0000000000..c23d14aade --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_atanl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_atanl.c> +long_double_symbol (libm, __atanl, atanl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_cbrtl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_cbrtl.c new file mode 100644 index 0000000000..ace5645277 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_cbrtl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_cbrtl.c> +long_double_symbol (libm, __cbrtl, cbrtl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_ceill.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_ceill.c new file mode 100644 index 0000000000..a646494f14 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_ceill.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_ceill.c> +long_double_symbol (libm, __ceill, ceill); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_copysignl.c new file mode 100644 index 0000000000..211e7240ac --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_copysignl.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_copysignl.c> +#if IS_IN (libm) +long_double_symbol (libm, __copysignl, copysignl); +#else +long_double_symbol (libc, __copysignl, copysignl); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_cosl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_cosl.c new file mode 100644 index 0000000000..6a7e2e3162 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_cosl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_cosl.c> +long_double_symbol (libm, __cosl, cosl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_erfl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_erfl.c new file mode 100644 index 0000000000..c5f9bb3ac4 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_erfl.c @@ -0,0 +1,6 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_erfl.c> +long_double_symbol (libm, __erfl, erfl); +long_double_symbol (libm, __erfcl, erfcl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_expm1l.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_expm1l.c new file mode 100644 index 0000000000..4fb186127f --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_expm1l.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_expm1l.c> +long_double_symbol (libm, __expm1l, expm1l); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fabsl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fabsl.c new file mode 100644 index 0000000000..93d81d98bc --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fabsl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_fabsl.c> +long_double_symbol (libm, __fabsl, fabsl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_finitel.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_finitel.c new file mode 100644 index 0000000000..c0862a7485 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_finitel.c @@ -0,0 +1,17 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#undef hidden_def +#define hidden_def(x) +#define __finitel(arg) ___finitel(arg) +#include <sysdeps/ieee754/ldbl-128/s_finitel.c> +#undef __finitel +hidden_ver (___finitel, __finitel) +_weak_alias (___finitel, ____finitel) +#if IS_IN (libm) +long_double_symbol (libm, ____finitel, finitel); +long_double_symbol (libm, ___finitel, __finitel); +#else +long_double_symbol (libc, ____finitel, finitel); +long_double_symbol (libc, ___finitel, __finitel); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_floorl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_floorl.c new file mode 100644 index 0000000000..953043035e --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_floorl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_floorl.c> +long_double_symbol (libm, __floorl, floorl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fmal.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fmal.c new file mode 100644 index 0000000000..218aa52b35 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fmal.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_fmal.c> +long_double_symbol (libm, __fmal, fmal); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c new file mode 100644 index 0000000000..a10b6c3a1a --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c @@ -0,0 +1,10 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#define __fpclassifyl ___fpclassifyl +#undef libm_hidden_def +#define libm_hidden_def(a) +#include <sysdeps/ieee754/ldbl-128/s_fpclassifyl.c> +#undef __fpclassifyl +long_double_symbol (libm, ___fpclassifyl, __fpclassifyl); +libm_hidden_ver (___fpclassifyl, __fpclassifyl) diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_frexpl.c new file mode 100644 index 0000000000..c7b6aaaaee --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_frexpl.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_frexpl.c> +#if IS_IN (libm) +long_double_symbol (libm, __frexpl, frexpl); +#else +long_double_symbol (libc, __frexpl, frexpl); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_isinfl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_isinfl.c new file mode 100644 index 0000000000..6dab0e9223 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_isinfl.c @@ -0,0 +1,16 @@ +#include <math_ldbl_opt.h> +#if !IS_IN (libm) +# undef weak_alias +# define weak_alias(n,a) +# undef hidden_def +# define hidden_def(x) +# define __isinfl(arg) ___isinfl(arg) +#endif +#include <sysdeps/ieee754/ldbl-128/s_isinfl.c> +#if !IS_IN (libm) +# undef __isinfl +hidden_ver (___isinfl, __isinfl) +_weak_alias (___isinfl, ____isinfl) +long_double_symbol (libc, ____isinfl, isinfl); +long_double_symbol (libc, ___isinfl, __isinfl); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_isnanl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_isnanl.c new file mode 100644 index 0000000000..ad5ecc5281 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_isnanl.c @@ -0,0 +1,16 @@ +#include <math_ldbl_opt.h> +#if !IS_IN (libm) +# undef weak_alias +# define weak_alias(n,a) +# undef hidden_def +# define hidden_def(x) +# define __isnanl(arg) ___isnanl(arg) +#endif +#include <sysdeps/ieee754/ldbl-128/s_isnanl.c> +#if !IS_IN (libm) +# undef __isnanl +hidden_ver (___isnanl, __isnanl) +_weak_alias (___isnanl, ____isnanl) +long_double_symbol (libc, ____isnanl, isnanl); +long_double_symbol (libc, ___isnanl, __isnanl); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_llrintl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_llrintl.c new file mode 100644 index 0000000000..1515f3abd7 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_llrintl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_llrintl.c> +long_double_symbol (libm, __llrintl, llrintl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_llroundl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_llroundl.c new file mode 100644 index 0000000000..ca35dae491 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_llroundl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_llroundl.c> +long_double_symbol (libm, __llroundl, llroundl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_log1pl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_log1pl.c new file mode 100644 index 0000000000..11d56bfe9f --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_log1pl.c @@ -0,0 +1,2 @@ +#include <math_ldbl_opt.h> +#include <sysdeps/ieee754/ldbl-128/s_log1pl.c> diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_logbl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_logbl.c new file mode 100644 index 0000000000..8ba8179feb --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_logbl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_logbl.c> +long_double_symbol (libm, __logbl, logbl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_lrintl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_lrintl.c new file mode 100644 index 0000000000..56e69c94f9 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_lrintl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_lrintl.c> +long_double_symbol (libm, __lrintl, lrintl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_lroundl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_lroundl.c new file mode 100644 index 0000000000..d5429e2384 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_lroundl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_lroundl.c> +long_double_symbol (libm, __lroundl, lroundl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_modfl.c new file mode 100644 index 0000000000..fa4d3ad82a --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_modfl.c @@ -0,0 +1,9 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_modfl.c> +#if IS_IN (libm) +long_double_symbol (libm, __modfl, modfl); +#else +long_double_symbol (libc, __modfl, modfl); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c new file mode 100644 index 0000000000..a6d0a313fd --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_nearbyintl.c> +long_double_symbol (libm, __nearbyintl, nearbyintl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c new file mode 100644 index 0000000000..64c663eda3 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c @@ -0,0 +1,6 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_nextafterl.c> +long_double_symbol (libm, __nextafterl, nextafterl); +long_double_symbol (libm, __nexttowardl, nexttowardl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nexttoward.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nexttoward.c new file mode 100644 index 0000000000..2968503d2e --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nexttoward.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_nexttoward.c> +long_double_symbol (libm, __nexttoward, nexttoward); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c new file mode 100644 index 0000000000..64b9c24465 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_nexttowardf.c> +long_double_symbol (libm, __nexttowardf, nexttowardf); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_remquol.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_remquol.c new file mode 100644 index 0000000000..16f0eb16a4 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_remquol.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_remquol.c> +long_double_symbol (libm, __remquol, remquol); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_rintl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_rintl.c new file mode 100644 index 0000000000..19af9bbdcb --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_rintl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_rintl.c> +long_double_symbol (libm, __rintl, rintl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_roundl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_roundl.c new file mode 100644 index 0000000000..3fa99d6f2a --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_roundl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_roundl.c> +long_double_symbol (libm, __roundl, roundl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c new file mode 100644 index 0000000000..97181d29b9 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c @@ -0,0 +1,4 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_scalblnl.c> diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c new file mode 100644 index 0000000000..15af1b2849 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c @@ -0,0 +1,4 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_scalbnl.c> diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_signbitl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_signbitl.c new file mode 100644 index 0000000000..850db7386a --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_signbitl.c @@ -0,0 +1,11 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#define __signbitl(arg) ___signbitl(arg) +#include <sysdeps/ieee754/ldbl-128/s_signbitl.c> +#undef __signbitl +#if IS_IN (libm) +long_double_symbol (libm, ___signbitl, __signbitl); +#else +long_double_symbol (libc, ___signbitl, __signbitl); +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_sincosl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_sincosl.c new file mode 100644 index 0000000000..ce0d4e2887 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_sincosl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_sincosl.c> +long_double_symbol (libm, __sincosl, sincosl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_sinl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_sinl.c new file mode 100644 index 0000000000..ebc20affdb --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_sinl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_sinl.c> +long_double_symbol (libm, __sinl, sinl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_tanhl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_tanhl.c new file mode 100644 index 0000000000..ede93930cd --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_tanhl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_tanhl.c> +long_double_symbol (libm, __tanhl, tanhl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_tanl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_tanl.c new file mode 100644 index 0000000000..6e635dfdc9 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_tanl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_tanl.c> +long_double_symbol (libm, __tanl, tanl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_truncl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_truncl.c new file mode 100644 index 0000000000..6311479d01 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/s_truncl.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/s_truncl.c> +long_double_symbol (libm, __truncl, truncl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/strtold_l.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/strtold_l.c new file mode 100644 index 0000000000..37034cb254 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/strtold_l.c @@ -0,0 +1,60 @@ +/* Copyright (C) 1999-2017 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#include <math.h> +#include <stdlib.h> +#include <wchar.h> +#include <xlocale.h> + +/* The actual implementation for all floating point sizes is in strtod.c. + These macros tell it to produce the `long double' version, `strtold'. */ + +#define FLOAT long double +#define FLT LDBL +#ifdef USE_WIDE_CHAR +extern long double ____new_wcstold_l (const wchar_t *, wchar_t **, __locale_t); +# define STRTOF __new_wcstold_l +# define __STRTOF ____new_wcstold_l +# define ____STRTOF_INTERNAL ____wcstold_l_internal +# define STRTOF_NAN __wcstold_nan +#else +extern long double ____new_strtold_l (const char *, char **, __locale_t); +# define STRTOF __new_strtold_l +# define __STRTOF ____new_strtold_l +# define ____STRTOF_INTERNAL ____strtold_l_internal +# define STRTOF_NAN __strtold_nan +#endif +extern __typeof (__STRTOF) STRTOF; +libc_hidden_proto (__STRTOF) +libc_hidden_proto (STRTOF) +#define MPN2FLOAT __mpn_construct_long_double +#define FLOAT_HUGE_VAL HUGE_VALL + +#include <strtod_l.c> + +#ifdef __LONG_DOUBLE_MATH_OPTIONAL +# include <math_ldbl_opt.h> +# ifdef USE_WIDE_CHAR +weak_alias (____new_wcstold_l, ___new_wcstold_l); +long_double_symbol (libc, ___new_wcstold_l, wcstold_l); +long_double_symbol (libc, ____new_wcstold_l, __wcstold_l); +# else +weak_alias (____new_strtold_l, ___new_strtold_l); +long_double_symbol (libc, ___new_strtold_l, strtold_l); +long_double_symbol (libc, ____new_strtold_l, __strtold_l); +# endif +#endif diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/w_expl_compat.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/w_expl_compat.c new file mode 100644 index 0000000000..37c153e2a4 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/w_expl_compat.c @@ -0,0 +1,5 @@ +#include <math_ldbl_opt.h> +#undef weak_alias +#define weak_alias(n,a) +#include <sysdeps/ieee754/ldbl-128/w_expl_compat.c> +long_double_symbol (libm, __expl, expl); diff --git a/REORG.TODO/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c new file mode 100644 index 0000000000..fef2507cd5 --- /dev/null +++ b/REORG.TODO/sysdeps/ieee754/ldbl-64-128/w_scalblnl.c @@ -0,0 +1,26 @@ +/* Wrapper for __scalblnl handles setting errno. + Copyright (C) 2014-2017 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <http://www.gnu.org/licenses/>. */ + +#define declare_mgen_alias(from, to) +#include <math-type-macros-ldouble.h> +#include <w_scalbln_template.c> +#if IS_IN (libm) +long_double_symbol (libm, __w_scalblnl, scalblnl); +#else +long_double_symbol (libc, __w_scalblnl, scalblnl); +#endif |