diff options
Diffstat (limited to 'sysdeps/ieee754/ldbl-64-128')
40 files changed, 0 insertions, 325 deletions
diff --git a/sysdeps/ieee754/ldbl-64-128/s_asinhl.c b/sysdeps/ieee754/ldbl-64-128/s_asinhl.c deleted file mode 100644 index 4e8a541263..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_asinhl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_atanl.c b/sysdeps/ieee754/ldbl-64-128/s_atanl.c deleted file mode 100644 index c23d14aade..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_atanl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_cbrtl.c b/sysdeps/ieee754/ldbl-64-128/s_cbrtl.c deleted file mode 100644 index ace5645277..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_cbrtl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_ceill.c b/sysdeps/ieee754/ldbl-64-128/s_ceill.c deleted file mode 100644 index a646494f14..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_ceill.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_copysignl.c b/sysdeps/ieee754/ldbl-64-128/s_copysignl.c deleted file mode 100644 index 1319584a52..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_copysignl.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_copysignl.c> -#ifdef IS_IN_libm -long_double_symbol (libm, __copysignl, copysignl); -#else -long_double_symbol (libc, __copysignl, copysignl); -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_cosl.c b/sysdeps/ieee754/ldbl-64-128/s_cosl.c deleted file mode 100644 index 6a7e2e3162..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_cosl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_erfl.c b/sysdeps/ieee754/ldbl-64-128/s_erfl.c deleted file mode 100644 index c5f9bb3ac4..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_erfl.c +++ /dev/null @@ -1,6 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_expm1l.c b/sysdeps/ieee754/ldbl-64-128/s_expm1l.c deleted file mode 100644 index 4fb186127f..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_expm1l.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_fabsl.c b/sysdeps/ieee754/ldbl-64-128/s_fabsl.c deleted file mode 100644 index 93d81d98bc..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_fabsl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_finitel.c b/sysdeps/ieee754/ldbl-64-128/s_finitel.c deleted file mode 100644 index 90717a1057..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_finitel.c +++ /dev/null @@ -1,17 +0,0 @@ -#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) -#ifdef 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/sysdeps/ieee754/ldbl-64-128/s_floorl.c b/sysdeps/ieee754/ldbl-64-128/s_floorl.c deleted file mode 100644 index 953043035e..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_floorl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c b/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c deleted file mode 100644 index a10b6c3a1a..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c +++ /dev/null @@ -1,10 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_frexpl.c b/sysdeps/ieee754/ldbl-64-128/s_frexpl.c deleted file mode 100644 index 685bbbab41..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_frexpl.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_frexpl.c> -#ifdef IS_IN_libm -long_double_symbol (libm, __frexpl, frexpl); -#else -long_double_symbol (libc, __frexpl, frexpl); -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_ilogbl.c b/sysdeps/ieee754/ldbl-64-128/s_ilogbl.c deleted file mode 100644 index bb88082405..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_ilogbl.c +++ /dev/null @@ -1,5 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_ilogbl.c> -long_double_symbol (libm, __ilogbl, ilogbl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_isinfl.c b/sysdeps/ieee754/ldbl-64-128/s_isinfl.c deleted file mode 100644 index e046032b09..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_isinfl.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <math_ldbl_opt.h> -#ifndef 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> -#ifndef 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/sysdeps/ieee754/ldbl-64-128/s_isnanl.c b/sysdeps/ieee754/ldbl-64-128/s_isnanl.c deleted file mode 100644 index 3673463ae5..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_isnanl.c +++ /dev/null @@ -1,16 +0,0 @@ -#include <math_ldbl_opt.h> -#ifndef 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> -#ifndef 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/sysdeps/ieee754/ldbl-64-128/s_llrintl.c b/sysdeps/ieee754/ldbl-64-128/s_llrintl.c deleted file mode 100644 index 1515f3abd7..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_llrintl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_llroundl.c b/sysdeps/ieee754/ldbl-64-128/s_llroundl.c deleted file mode 100644 index ca35dae491..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_llroundl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_log1pl.c b/sysdeps/ieee754/ldbl-64-128/s_log1pl.c deleted file mode 100644 index eebd63638a..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_log1pl.c +++ /dev/null @@ -1,5 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_log1pl.c> -long_double_symbol (libm, __log1pl, log1pl); diff --git a/sysdeps/ieee754/ldbl-64-128/s_logbl.c b/sysdeps/ieee754/ldbl-64-128/s_logbl.c deleted file mode 100644 index 8ba8179feb..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_logbl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_lrintl.c b/sysdeps/ieee754/ldbl-64-128/s_lrintl.c deleted file mode 100644 index 56e69c94f9..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_lrintl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_lroundl.c b/sysdeps/ieee754/ldbl-64-128/s_lroundl.c deleted file mode 100644 index d5429e2384..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_lroundl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_modfl.c b/sysdeps/ieee754/ldbl-64-128/s_modfl.c deleted file mode 100644 index c17d6690a8..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_modfl.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_modfl.c> -#ifdef IS_IN_libm -long_double_symbol (libm, __modfl, modfl); -#else -long_double_symbol (libc, __modfl, modfl); -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c b/sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c deleted file mode 100644 index a6d0a313fd..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c b/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c deleted file mode 100644 index 64c663eda3..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_nextafterl.c +++ /dev/null @@ -1,6 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_nexttoward.c b/sysdeps/ieee754/ldbl-64-128/s_nexttoward.c deleted file mode 100644 index 2968503d2e..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_nexttoward.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c b/sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c deleted file mode 100644 index 64b9c24465..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_remquol.c b/sysdeps/ieee754/ldbl-64-128/s_remquol.c deleted file mode 100644 index 16f0eb16a4..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_remquol.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_rintl.c b/sysdeps/ieee754/ldbl-64-128/s_rintl.c deleted file mode 100644 index 19af9bbdcb..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_rintl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_roundl.c b/sysdeps/ieee754/ldbl-64-128/s_roundl.c deleted file mode 100644 index 3fa99d6f2a..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_roundl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c deleted file mode 100644 index 3143f18f6c..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_scalblnl.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_scalblnl.c> -#ifdef IS_IN_libm -long_double_symbol (libm, __scalblnl, scalblnl); -#else -long_double_symbol (libc, __scalblnl, scalblnl); -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c b/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c deleted file mode 100644 index 78520e9648..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_scalbnl.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/s_scalbnl.c> -#ifdef IS_IN_libm -long_double_symbol (libm, __scalbnl, scalbnl); -#else -long_double_symbol (libc, __scalbnl, scalbnl); -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_signbitl.c b/sysdeps/ieee754/ldbl-64-128/s_signbitl.c deleted file mode 100644 index f66db2f651..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_signbitl.c +++ /dev/null @@ -1,11 +0,0 @@ -#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 -#ifdef IS_IN_libm -long_double_symbol (libm, ___signbitl, __signbitl); -#else -long_double_symbol (libc, ___signbitl, __signbitl); -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/s_sincosl.c b/sysdeps/ieee754/ldbl-64-128/s_sincosl.c deleted file mode 100644 index ce0d4e2887..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_sincosl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_sinl.c b/sysdeps/ieee754/ldbl-64-128/s_sinl.c deleted file mode 100644 index ebc20affdb..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_sinl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_tanhl.c b/sysdeps/ieee754/ldbl-64-128/s_tanhl.c deleted file mode 100644 index ede93930cd..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_tanhl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_tanl.c b/sysdeps/ieee754/ldbl-64-128/s_tanl.c deleted file mode 100644 index 6e635dfdc9..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_tanl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/s_truncl.c b/sysdeps/ieee754/ldbl-64-128/s_truncl.c deleted file mode 100644 index 6311479d01..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/s_truncl.c +++ /dev/null @@ -1,5 +0,0 @@ -#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/sysdeps/ieee754/ldbl-64-128/strtold_l.c b/sysdeps/ieee754/ldbl-64-128/strtold_l.c deleted file mode 100644 index ef8fe05759..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/strtold_l.c +++ /dev/null @@ -1,63 +0,0 @@ -/* Copyright (C) 1999, 2006 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, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -#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 -#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 -#endif -#define MPN2FLOAT __mpn_construct_long_double -#define FLOAT_HUGE_VAL HUGE_VALL -#define SET_MANTISSA(flt, mant) \ - do { union ieee854_long_double u; \ - u.d = (flt); \ - u.ieee.mantissa0 = 0x8000; \ - u.ieee.mantissa1 = 0; \ - u.ieee.mantissa2 = ((mant) >> 32); \ - u.ieee.mantissa3 = (mant) & 0xffffffff; \ - (flt) = u.d; \ - } while (0) - -#include <strtod_l.c> - -#ifdef __LONG_DOUBLE_MATH_OPTIONAL -# include <math_ldbl_opt.h> -# ifdef USE_WIDE_CHAR -long_double_symbol (libc, __new_wcstold_l, wcstold_l); -long_double_symbol (libc, ____new_wcstold_l, __wcstold_l); -# else -long_double_symbol (libc, __new_strtold_l, strtold_l); -long_double_symbol (libc, ____new_strtold_l, __strtold_l); -# endif -#endif diff --git a/sysdeps/ieee754/ldbl-64-128/w_expl.c b/sysdeps/ieee754/ldbl-64-128/w_expl.c deleted file mode 100644 index 2a402b04c0..0000000000 --- a/sysdeps/ieee754/ldbl-64-128/w_expl.c +++ /dev/null @@ -1,5 +0,0 @@ -#include <math_ldbl_opt.h> -#undef weak_alias -#define weak_alias(n,a) -#include <sysdeps/ieee754/ldbl-128/w_expl.c> -long_double_symbol (libm, __expl, expl); |