mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Add narrowing square root functions
This patch adds the narrowing square root functions from TS 18661-1 / TS 18661-3 / C2X to glibc's libm: fsqrt, fsqrtl, dsqrtl, f32sqrtf64, f32sqrtf32x, f32xsqrtf64 for all configurations; f32sqrtf64x, f32sqrtf128, f64sqrtf64x, f64sqrtf128, f32xsqrtf64x, f32xsqrtf128, f64xsqrtf128 for configurations with _Float64x and _Float128; __f32sqrtieee128 and __f64sqrtieee128 aliases in the powerpc64le case (for calls to fsqrtl and dsqrtl when long double is IEEE binary128). Corresponding tgmath.h macro support is also added. The changes are mostly similar to those for the other narrowing functions previously added, so the description of those generally applies to this patch as well. However, the not-actually-narrowing cases (where the two types involved in the function have the same floating-point format) are aliased to sqrt, sqrtl or sqrtf128 rather than needing a separately built not-actually-narrowing function such as was needed for add / sub / mul / div. Thus, there is no __nldbl_dsqrtl name for ldbl-opt because no such name was needed (whereas the other functions needed such a name since the only other name for that entry point was e.g. f32xaddf64, not reserved by TS 18661-1); the headers are made to arrange for sqrt to be called in that case instead. The DIAG_* calls in sysdeps/ieee754/soft-fp/s_dsqrtl.c are because they were observed to be needed in GCC 7 testing of riscv32-linux-gnu-rv32imac-ilp32. The other sysdeps/ieee754/soft-fp/ files added didn't need such DIAG_* in any configuration I tested with build-many-glibcs.py, but if they do turn out to be needed in more files with some other configuration / GCC version, they can always be added there. I reused the same test inputs in auto-libm-test-in as for non-narrowing sqrt rather than adding extra or separate inputs for narrowing sqrt. The tests in libm-test-narrow-sqrt.inc also follow those for non-narrowing sqrt. Tested as followed: natively with the full glibc testsuite for x86_64 (GCC 11, 7, 6) and x86 (GCC 11); with build-many-glibcs.py with GCC 11, 7 and 6; cross testing of math/ tests for powerpc64le, powerpc32 hard float, mips64 (all three ABIs, both hard and soft float). The different GCC versions are to cover the different cases in tgmath.h and tgmath.h tests properly (GCC 6 has _Float* only as typedefs in glibc headers, GCC 7 has proper _Float* support, GCC 8 adds __builtin_tgmath).
This commit is contained in:
parent
c9fef4b7d1
commit
abd383584b
7
NEWS
7
NEWS
@ -19,6 +19,13 @@ Major new features:
|
|||||||
in various downstream distributions. The locale is not built into
|
in various downstream distributions. The locale is not built into
|
||||||
glibc, and must be installed.
|
glibc, and must be installed.
|
||||||
|
|
||||||
|
* <math.h> functions that round their results to a narrower type, and
|
||||||
|
corresponding <tgmath.h> macros, are added from TS 18661-1:2014, TS
|
||||||
|
18661-3:2015 and draft ISO C2X:
|
||||||
|
|
||||||
|
- fsqrt, fsqrtl, dsqrtl and corresponding fMsqrtfN, fMsqrtfNx,
|
||||||
|
fMxsqrtfN and fMxsqrtfNx functions.
|
||||||
|
|
||||||
Deprecated and removed features, and other changes affecting compatibility:
|
Deprecated and removed features, and other changes affecting compatibility:
|
||||||
|
|
||||||
[Add deprecations, removals and changes affecting compatibility here]
|
[Add deprecations, removals and changes affecting compatibility here]
|
||||||
|
@ -2270,6 +2270,25 @@ function without any intermediate rounding to the type of the
|
|||||||
arguments.
|
arguments.
|
||||||
@end deftypefun
|
@end deftypefun
|
||||||
|
|
||||||
|
@deftypefun float fsqrt (double @var{x})
|
||||||
|
@deftypefunx float fsqrtl (long double @var{x})
|
||||||
|
@deftypefunx double dsqrtl (long double @var{x})
|
||||||
|
@deftypefunx _FloatM fMsqrtfN (_Float@var{N} @var{x})
|
||||||
|
@deftypefunx _FloatM fMsqrtfNx (_Float@var{N}x @var{x})
|
||||||
|
@deftypefunx _FloatMx fMxsqrtfN (_Float@var{N} @var{x})
|
||||||
|
@deftypefunx _FloatMx fMxsqrtfNx (_Float@var{N}x @var{x})
|
||||||
|
@standards{TS 18661-1:2014, math.h}
|
||||||
|
@standardsx{fMsqrtfN, TS 18661-3:2015, math.h}
|
||||||
|
@standardsx{fMsqrtfNx, TS 18661-3:2015, math.h}
|
||||||
|
@standardsx{fMxsqrtfN, TS 18661-3:2015, math.h}
|
||||||
|
@standardsx{fMxsqrtfNx, TS 18661-3:2015, math.h}
|
||||||
|
@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
|
||||||
|
These functions, from TS 18661-1:2014 and TS 18661-3:2015, return the
|
||||||
|
square root of @var{x}, rounded once to the return type of the
|
||||||
|
function without any intermediate rounding to the type of the
|
||||||
|
arguments.
|
||||||
|
@end deftypefun
|
||||||
|
|
||||||
@node Complex Numbers
|
@node Complex Numbers
|
||||||
@section Complex Numbers
|
@section Complex Numbers
|
||||||
@pindex complex.h
|
@pindex complex.h
|
||||||
|
@ -91,7 +91,7 @@ libm-compat-calls = \
|
|||||||
w_lgammaF_r_compat w_lgammaF_compat2 w_expF_compat \
|
w_lgammaF_r_compat w_lgammaF_compat2 w_expF_compat \
|
||||||
w_lgamma_compatF k_standardF
|
w_lgamma_compatF k_standardF
|
||||||
|
|
||||||
libm-narrow-fns = add div mul sub
|
libm-narrow-fns = add div mul sqrt sub
|
||||||
libm-narrow-types-basic = s_fF s_f32xFf64
|
libm-narrow-types-basic = s_fF s_f32xFf64
|
||||||
libm-narrow-types-ldouble-yes = s_fFl s_dFl
|
libm-narrow-types-ldouble-yes = s_fFl s_dFl
|
||||||
libm-narrow-types-float128-yes = s_f32Ff128 s_f64Ff128 s_f64xFf128
|
libm-narrow-types-float128-yes = s_f32Ff128 s_f64Ff128 s_f64xFf128
|
||||||
@ -299,7 +299,7 @@ libm-test-funcs-noauto = canonicalize ceil cimag conj copysign cproj creal \
|
|||||||
significand totalorder totalordermag trunc ufromfp \
|
significand totalorder totalordermag trunc ufromfp \
|
||||||
ufromfpx compat_totalorder compat_totalordermag
|
ufromfpx compat_totalorder compat_totalordermag
|
||||||
libm-test-funcs-compat = compat_totalorder compat_totalordermag
|
libm-test-funcs-compat = compat_totalorder compat_totalordermag
|
||||||
libm-test-funcs-narrow = add div mul sub
|
libm-test-funcs-narrow = add div mul sqrt sub
|
||||||
libm-test-funcs-all = $(libm-test-funcs-auto) $(libm-test-funcs-noauto)
|
libm-test-funcs-all = $(libm-test-funcs-auto) $(libm-test-funcs-noauto)
|
||||||
libm-test-c-auto = $(foreach f,$(libm-test-funcs-auto),libm-test-$(f).c)
|
libm-test-c-auto = $(foreach f,$(libm-test-funcs-auto),libm-test-$(f).c)
|
||||||
libm-test-c-noauto = $(foreach f,$(libm-test-funcs-noauto),libm-test-$(f).c)
|
libm-test-c-noauto = $(foreach f,$(libm-test-funcs-noauto),libm-test-$(f).c)
|
||||||
@ -664,6 +664,7 @@ CFLAGS-s_ctanh.c += -fno-builtin-ctanhl
|
|||||||
CFLAGS-s_dadd.c += -fno-builtin-daddl
|
CFLAGS-s_dadd.c += -fno-builtin-daddl
|
||||||
CFLAGS-s_ddiv.c += -fno-builtin-ddivl
|
CFLAGS-s_ddiv.c += -fno-builtin-ddivl
|
||||||
CFLAGS-s_dmul.c += -fno-builtin-dmull
|
CFLAGS-s_dmul.c += -fno-builtin-dmull
|
||||||
|
CFLAGS-s_dsqrt.c += -fno-builtin-dsqrtl
|
||||||
CFLAGS-s_dsub.c += -fno-builtin-dsubl
|
CFLAGS-s_dsub.c += -fno-builtin-dsubl
|
||||||
CFLAGS-s_erf.c += -fno-builtin-erfl
|
CFLAGS-s_erf.c += -fno-builtin-erfl
|
||||||
CFLAGS-s_erfc.c += -fno-builtin-erfcl
|
CFLAGS-s_erfc.c += -fno-builtin-erfcl
|
||||||
@ -687,6 +688,7 @@ CFLAGS-s_fmul.c += -fno-builtin-fmull
|
|||||||
CFLAGS-s_frexp.c += -fno-builtin-frexpl
|
CFLAGS-s_frexp.c += -fno-builtin-frexpl
|
||||||
CFLAGS-s_fromfp.c += -fno-builtin-fromfpl
|
CFLAGS-s_fromfp.c += -fno-builtin-fromfpl
|
||||||
CFLAGS-s_fromfpx.c += -fno-builtin-fromfpxl
|
CFLAGS-s_fromfpx.c += -fno-builtin-fromfpxl
|
||||||
|
CFLAGS-s_fsqrt.c += -fno-builtin-fsqrtl
|
||||||
CFLAGS-s_fsub.c += -fno-builtin-fsubl
|
CFLAGS-s_fsub.c += -fno-builtin-fsubl
|
||||||
CFLAGS-s_gamma.c += -fno-builtin-gammal
|
CFLAGS-s_gamma.c += -fno-builtin-gammal
|
||||||
CFLAGS-s_getpayload.c += -fno-builtin-getpayloadl
|
CFLAGS-s_getpayload.c += -fno-builtin-getpayloadl
|
||||||
|
@ -593,4 +593,13 @@ libm {
|
|||||||
GLIBC_2.32 {
|
GLIBC_2.32 {
|
||||||
exp10f;
|
exp10f;
|
||||||
}
|
}
|
||||||
|
GLIBC_2.35 {
|
||||||
|
# Functions not involving _Float64x or _Float128, for all configurations.
|
||||||
|
fsqrt; fsqrtl; dsqrtl;
|
||||||
|
f32sqrtf32x; f32sqrtf64; f32xsqrtf64;
|
||||||
|
# Functions involving _Float64x or _Float128, for some configurations.
|
||||||
|
f32sqrtf64x; f32sqrtf128;
|
||||||
|
f32xsqrtf64x; f32xsqrtf128; f64sqrtf64x; f64sqrtf128;
|
||||||
|
f64xsqrtf128;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
4485
math/auto-libm-test-out-narrow-sqrt
Normal file
4485
math/auto-libm-test-out-narrow-sqrt
Normal file
File diff suppressed because it is too large
Load Diff
@ -29,5 +29,8 @@ __MATHCALL_NARROW (__MATHCALL_NAME (div), __MATHCALL_REDIR_NAME (div), 2);
|
|||||||
/* Multiply. */
|
/* Multiply. */
|
||||||
__MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2);
|
__MATHCALL_NARROW (__MATHCALL_NAME (mul), __MATHCALL_REDIR_NAME (mul), 2);
|
||||||
|
|
||||||
|
/* Square root. */
|
||||||
|
__MATHCALL_NARROW (__MATHCALL_NAME (sqrt), __MATHCALL_REDIR_NAME2 (sqrt), 1);
|
||||||
|
|
||||||
/* Subtract. */
|
/* Subtract. */
|
||||||
__MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2);
|
__MATHCALL_NARROW (__MATHCALL_NAME (sub), __MATHCALL_REDIR_NAME (sub), 2);
|
||||||
|
@ -696,7 +696,8 @@ class Tests(object):
|
|||||||
self.add_tests('fromfpx', 'intmax_t', ['r', 'int', 'unsigned int'])
|
self.add_tests('fromfpx', 'intmax_t', ['r', 'int', 'unsigned int'])
|
||||||
self.add_tests('ufromfp', 'uintmax_t', ['r', 'int', 'unsigned int'])
|
self.add_tests('ufromfp', 'uintmax_t', ['r', 'int', 'unsigned int'])
|
||||||
self.add_tests('ufromfpx', 'uintmax_t', ['r', 'int', 'unsigned int'])
|
self.add_tests('ufromfpx', 'uintmax_t', ['r', 'int', 'unsigned int'])
|
||||||
for fn in ('add', 'div', 'mul', 'sub'):
|
for fn, args in (('add', 2), ('div', 2), ('mul', 2), ('sqrt', 1),
|
||||||
|
('sub', 2)):
|
||||||
for ret, prefix in (('float', 'f'),
|
for ret, prefix in (('float', 'f'),
|
||||||
('double', 'd'),
|
('double', 'd'),
|
||||||
('_Float16', 'f16'),
|
('_Float16', 'f16'),
|
||||||
@ -705,7 +706,7 @@ class Tests(object):
|
|||||||
('_Float128', 'f128'),
|
('_Float128', 'f128'),
|
||||||
('_Float32x', 'f32x'),
|
('_Float32x', 'f32x'),
|
||||||
('_Float64x', 'f64x')):
|
('_Float64x', 'f64x')):
|
||||||
self.add_tests(prefix + fn, ret, ['r', 'r'])
|
self.add_tests(prefix + fn, ret, ['r'] * args)
|
||||||
# Miscellaneous functions.
|
# Miscellaneous functions.
|
||||||
self.add_tests('scalb', 's', ['s', 's'])
|
self.add_tests('scalb', 's', ['s', 's'])
|
||||||
|
|
||||||
|
@ -169,6 +169,16 @@ struct test_fj_f_data
|
|||||||
} rd, rn, rz, ru;
|
} rd, rn, rz, ru;
|
||||||
};
|
};
|
||||||
#ifdef ARG_FLOAT
|
#ifdef ARG_FLOAT
|
||||||
|
struct test_a_f_data
|
||||||
|
{
|
||||||
|
const char *arg_str;
|
||||||
|
ARG_FLOAT arg;
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
FLOAT expected;
|
||||||
|
int exceptions;
|
||||||
|
} rd, rn, rz, ru;
|
||||||
|
};
|
||||||
struct test_aa_f_data
|
struct test_aa_f_data
|
||||||
{
|
{
|
||||||
const char *arg_str;
|
const char *arg_str;
|
||||||
@ -459,7 +469,7 @@ struct test_Ff_b1_data
|
|||||||
|
|
||||||
/* Run an individual test, including any required setup and checking
|
/* Run an individual test, including any required setup and checking
|
||||||
of results, or loop over all tests in an array. */
|
of results, or loop over all tests in an array. */
|
||||||
#define RUN_TEST_f_f(ARG_STR, FUNC_NAME, ARG, EXPECTED, \
|
#define RUN_TEST_1_f(ARG_STR, FUNC_NAME, ARG, EXPECTED, \
|
||||||
EXCEPTIONS) \
|
EXCEPTIONS) \
|
||||||
do \
|
do \
|
||||||
if (enable_test (EXCEPTIONS)) \
|
if (enable_test (EXCEPTIONS)) \
|
||||||
@ -470,13 +480,15 @@ struct test_Ff_b1_data
|
|||||||
COMMON_TEST_CLEANUP; \
|
COMMON_TEST_CLEANUP; \
|
||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
#define RUN_TEST_LOOP_f_f(FUNC_NAME, ARRAY, ROUNDING_MODE) \
|
#define RUN_TEST_LOOP_1_f(FUNC_NAME, ARRAY, ROUNDING_MODE) \
|
||||||
IF_ROUND_INIT_ ## ROUNDING_MODE \
|
IF_ROUND_INIT_ ## ROUNDING_MODE \
|
||||||
for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++) \
|
for (size_t i = 0; i < sizeof (ARRAY) / sizeof (ARRAY)[0]; i++) \
|
||||||
RUN_TEST_f_f ((ARRAY)[i].arg_str, FUNC_NAME, (ARRAY)[i].arg, \
|
RUN_TEST_1_f ((ARRAY)[i].arg_str, FUNC_NAME, (ARRAY)[i].arg, \
|
||||||
(ARRAY)[i].RM_##ROUNDING_MODE.expected, \
|
(ARRAY)[i].RM_##ROUNDING_MODE.expected, \
|
||||||
(ARRAY)[i].RM_##ROUNDING_MODE.exceptions); \
|
(ARRAY)[i].RM_##ROUNDING_MODE.exceptions); \
|
||||||
ROUND_RESTORE_ ## ROUNDING_MODE
|
ROUND_RESTORE_ ## ROUNDING_MODE
|
||||||
|
#define RUN_TEST_LOOP_f_f RUN_TEST_LOOP_1_f
|
||||||
|
#define RUN_TEST_LOOP_a_f RUN_TEST_LOOP_1_f
|
||||||
#define RUN_TEST_fp_f(ARG_STR, FUNC_NAME, ARG, EXPECTED, \
|
#define RUN_TEST_fp_f(ARG_STR, FUNC_NAME, ARG, EXPECTED, \
|
||||||
EXCEPTIONS) \
|
EXCEPTIONS) \
|
||||||
do \
|
do \
|
||||||
|
56
math/libm-test-narrow-sqrt.inc
Normal file
56
math/libm-test-narrow-sqrt.inc
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
/* Test narrowing sqrt.
|
||||||
|
Copyright (C) 1997-2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include "libm-test-driver.c"
|
||||||
|
|
||||||
|
static const struct test_a_f_data sqrt_test_data[] =
|
||||||
|
{
|
||||||
|
TEST_a_f (sqrt, arg_qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
|
||||||
|
TEST_a_f (sqrt, -arg_qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
|
||||||
|
TEST_a_f (sqrt, arg_snan_value, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION),
|
||||||
|
TEST_a_f (sqrt, -arg_snan_value, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION),
|
||||||
|
TEST_a_f (sqrt, arg_plus_infty, plus_infty, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
|
||||||
|
|
||||||
|
/* sqrt (x) == qNaN plus invalid exception for x < 0. */
|
||||||
|
TEST_a_f (sqrt, -1, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
|
||||||
|
TEST_a_f (sqrt, -1.1L, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
|
||||||
|
TEST_a_f (sqrt, -arg_min_value, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
|
||||||
|
TEST_a_f (sqrt, -arg_min_subnorm_value, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
|
||||||
|
TEST_a_f (sqrt, -arg_max_value, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
|
||||||
|
TEST_a_f (sqrt, arg_minus_infty, qnan_value, NO_INEXACT_EXCEPTION|INVALID_EXCEPTION|ERRNO_EDOM),
|
||||||
|
|
||||||
|
AUTO_TESTS_a_f (sqrt),
|
||||||
|
};
|
||||||
|
|
||||||
|
static void
|
||||||
|
sqrt_test (void)
|
||||||
|
{
|
||||||
|
ALL_RM_TEST (sqrt, 1, sqrt_test_data, RUN_TEST_LOOP_a_f, END);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
do_test (void)
|
||||||
|
{
|
||||||
|
sqrt_test ();
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Local Variables:
|
||||||
|
* mode:c
|
||||||
|
* End:
|
||||||
|
*/
|
@ -27,16 +27,20 @@
|
|||||||
#include <math-barriers.h>
|
#include <math-barriers.h>
|
||||||
#include <math_private.h>
|
#include <math_private.h>
|
||||||
#include <fenv_private.h>
|
#include <fenv_private.h>
|
||||||
|
#include <math-narrow-alias.h>
|
||||||
|
|
||||||
/* Carry out a computation using round-to-odd. The computation is
|
/* Carry out a computation using round-to-odd. The computation is
|
||||||
EXPR; the union type in which to store the result is UNION and the
|
EXPR; the union type in which to store the result is UNION and the
|
||||||
subfield of the "ieee" field of that union with the low part of the
|
subfield of the "ieee" field of that union with the low part of the
|
||||||
mantissa is MANTISSA; SUFFIX is the suffix for the libc_fe* macros
|
mantissa is MANTISSA; SUFFIX is the suffix for both underlying libm
|
||||||
to ensure that the correct rounding mode is used, for platforms
|
functions for the argument type (for computations where a libm
|
||||||
with multiple rounding modes where those macros set only the
|
function rather than a C operator is used when argument and result
|
||||||
relevant mode. This macro does not work correctly if the sign of
|
types are the same) and the libc_fe* macros to ensure that the
|
||||||
an exact zero result depends on the rounding mode, so that case
|
correct rounding mode is used, for platforms with multiple rounding
|
||||||
must be checked for separately. */
|
modes where those macros set only the relevant mode. This macro
|
||||||
|
does not work correctly if the sign of an exact zero result depends
|
||||||
|
on the rounding mode, so that case must be checked for
|
||||||
|
separately. */
|
||||||
#define ROUND_TO_ODD(EXPR, UNION, SUFFIX, MANTISSA) \
|
#define ROUND_TO_ODD(EXPR, UNION, SUFFIX, MANTISSA) \
|
||||||
({ \
|
({ \
|
||||||
fenv_t env; \
|
fenv_t env; \
|
||||||
@ -273,85 +277,58 @@
|
|||||||
} \
|
} \
|
||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
/* The following macros declare aliases for a narrowing function. The
|
/* Check for error conditions from a narrowing square root function
|
||||||
sole argument is the base name of a family of functions, such as
|
returning RET with argument X and set errno as needed. Overflow
|
||||||
"add". If any platform changes long double format after the
|
and underflow can occur for finite positive arguments and a domain
|
||||||
introduction of narrowing functions, in a way requiring symbol
|
error for negative arguments. */
|
||||||
versioning compatibility, additional variants of these macros will
|
#define CHECK_NARROW_SQRT(RET, X) \
|
||||||
be needed. */
|
do \
|
||||||
|
{ \
|
||||||
|
if (!isfinite (RET)) \
|
||||||
|
{ \
|
||||||
|
if (isnan (RET)) \
|
||||||
|
{ \
|
||||||
|
if (!isnan (X)) \
|
||||||
|
__set_errno (EDOM); \
|
||||||
|
} \
|
||||||
|
else if (isfinite (X)) \
|
||||||
|
__set_errno (ERANGE); \
|
||||||
|
} \
|
||||||
|
else if ((RET) == 0 && (X) != 0) \
|
||||||
|
__set_errno (ERANGE); \
|
||||||
|
} \
|
||||||
|
while (0)
|
||||||
|
|
||||||
#define libm_alias_float_double_main(func) \
|
/* Implement narrowing square root using round-to-odd. The argument
|
||||||
weak_alias (__f ## func, f ## func) \
|
is X, the return type is TYPE and UNION, MANTISSA and SUFFIX are as
|
||||||
weak_alias (__f ## func, f32 ## func ## f64) \
|
for ROUND_TO_ODD. */
|
||||||
weak_alias (__f ## func, f32 ## func ## f32x)
|
#define NARROW_SQRT_ROUND_TO_ODD(X, TYPE, UNION, SUFFIX, MANTISSA) \
|
||||||
|
do \
|
||||||
|
{ \
|
||||||
|
TYPE ret; \
|
||||||
|
\
|
||||||
|
ret = (TYPE) ROUND_TO_ODD (sqrt ## SUFFIX (math_opt_barrier (X)), \
|
||||||
|
UNION, SUFFIX, MANTISSA); \
|
||||||
|
\
|
||||||
|
CHECK_NARROW_SQRT (ret, (X)); \
|
||||||
|
return ret; \
|
||||||
|
} \
|
||||||
|
while (0)
|
||||||
|
|
||||||
#ifdef NO_LONG_DOUBLE
|
/* Implement a narrowing square root function where no attempt is made
|
||||||
# define libm_alias_float_double(func) \
|
to be correctly rounding (this only applies to IBM long double; the
|
||||||
libm_alias_float_double_main (func) \
|
case where the function is not actually narrowing is handled by
|
||||||
weak_alias (__f ## func, f ## func ## l)
|
aliasing other sqrt functions in libm, not using this macro). The
|
||||||
#else
|
argument is X and the return type is TYPE. */
|
||||||
# define libm_alias_float_double(func) \
|
#define NARROW_SQRT_TRIVIAL(X, TYPE, SUFFIX) \
|
||||||
libm_alias_float_double_main (func)
|
do \
|
||||||
#endif
|
{ \
|
||||||
|
TYPE ret; \
|
||||||
#define libm_alias_float32x_float64_main(func) \
|
\
|
||||||
weak_alias (__f32x ## func ## f64, f32x ## func ## f64)
|
ret = (TYPE) (sqrt ## SUFFIX (X)); \
|
||||||
|
CHECK_NARROW_SQRT (ret, (X)); \
|
||||||
#ifdef NO_LONG_DOUBLE
|
return ret; \
|
||||||
# define libm_alias_float32x_float64(func) \
|
} \
|
||||||
libm_alias_float32x_float64_main (func) \
|
while (0)
|
||||||
weak_alias (__f32x ## func ## f64, d ## func ## l)
|
|
||||||
#elif defined __LONG_DOUBLE_MATH_OPTIONAL
|
|
||||||
# define libm_alias_float32x_float64(func) \
|
|
||||||
libm_alias_float32x_float64_main (func) \
|
|
||||||
weak_alias (__f32x ## func ## f64, __nldbl_d ## func ## l)
|
|
||||||
#else
|
|
||||||
# define libm_alias_float32x_float64(func) \
|
|
||||||
libm_alias_float32x_float64_main (func)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128
|
|
||||||
# define libm_alias_float_ldouble_f128(func) \
|
|
||||||
weak_alias (__f ## func ## l, f32 ## func ## f128)
|
|
||||||
# define libm_alias_double_ldouble_f128(func) \
|
|
||||||
weak_alias (__d ## func ## l, f32x ## func ## f128) \
|
|
||||||
weak_alias (__d ## func ## l, f64 ## func ## f128)
|
|
||||||
#else
|
|
||||||
# define libm_alias_float_ldouble_f128(func)
|
|
||||||
# define libm_alias_double_ldouble_f128(func)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __HAVE_FLOAT64X_LONG_DOUBLE
|
|
||||||
# define libm_alias_float_ldouble_f64x(func) \
|
|
||||||
weak_alias (__f ## func ## l, f32 ## func ## f64x)
|
|
||||||
# define libm_alias_double_ldouble_f64x(func) \
|
|
||||||
weak_alias (__d ## func ## l, f32x ## func ## f64x) \
|
|
||||||
weak_alias (__d ## func ## l, f64 ## func ## f64x)
|
|
||||||
#else
|
|
||||||
# define libm_alias_float_ldouble_f64x(func)
|
|
||||||
# define libm_alias_double_ldouble_f64x(func)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define libm_alias_float_ldouble(func) \
|
|
||||||
weak_alias (__f ## func ## l, f ## func ## l) \
|
|
||||||
libm_alias_float_ldouble_f128 (func) \
|
|
||||||
libm_alias_float_ldouble_f64x (func)
|
|
||||||
|
|
||||||
#define libm_alias_double_ldouble(func) \
|
|
||||||
weak_alias (__d ## func ## l, d ## func ## l) \
|
|
||||||
libm_alias_double_ldouble_f128 (func) \
|
|
||||||
libm_alias_double_ldouble_f64x (func)
|
|
||||||
|
|
||||||
#define libm_alias_float64x_float128(func) \
|
|
||||||
weak_alias (__f64x ## func ## f128, f64x ## func ## f128)
|
|
||||||
|
|
||||||
#define libm_alias_float32_float128_main(func) \
|
|
||||||
weak_alias (__f32 ## func ## f128, f32 ## func ## f128)
|
|
||||||
|
|
||||||
#define libm_alias_float64_float128_main(func) \
|
|
||||||
weak_alias (__f64 ## func ## f128, f64 ## func ## f128) \
|
|
||||||
weak_alias (__f64 ## func ## f128, f32x ## func ## f128)
|
|
||||||
|
|
||||||
#include <math-narrow-alias-float128.h>
|
|
||||||
|
|
||||||
#endif /* math-narrow.h. */
|
#endif /* math-narrow.h. */
|
||||||
|
@ -573,11 +573,13 @@ extern double __REDIRECT_NTH (nexttoward, (double __x, long double __y),
|
|||||||
# define __MATHCALL_NAME(name) f ## name ## l
|
# define __MATHCALL_NAME(name) f ## name ## l
|
||||||
# ifdef __LDBL_COMPAT
|
# ifdef __LDBL_COMPAT
|
||||||
# define __MATHCALL_REDIR_NAME(name) f ## name
|
# define __MATHCALL_REDIR_NAME(name) f ## name
|
||||||
|
# define __MATHCALL_REDIR_NAME2(name) f ## name
|
||||||
# undef __MATHCALL_NARROW
|
# undef __MATHCALL_NARROW
|
||||||
# define __MATHCALL_NARROW(func, redir, nargs) \
|
# define __MATHCALL_NARROW(func, redir, nargs) \
|
||||||
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
||||||
# elif __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
# elif __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
||||||
# define __MATHCALL_REDIR_NAME(name) __ ## f32 ## name ## ieee128
|
# define __MATHCALL_REDIR_NAME(name) __ ## f32 ## name ## ieee128
|
||||||
|
# define __MATHCALL_REDIR_NAME2(name) __ ## f32 ## name ## ieee128
|
||||||
# undef __MATHCALL_NARROW
|
# undef __MATHCALL_NARROW
|
||||||
# define __MATHCALL_NARROW(func, redir, nargs) \
|
# define __MATHCALL_NARROW(func, redir, nargs) \
|
||||||
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
||||||
@ -589,6 +591,7 @@ extern double __REDIRECT_NTH (nexttoward, (double __x, long double __y),
|
|||||||
# if defined __LDBL_COMPAT \
|
# if defined __LDBL_COMPAT \
|
||||||
|| __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
|| __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
||||||
# undef __MATHCALL_REDIR_NAME
|
# undef __MATHCALL_REDIR_NAME
|
||||||
|
# undef __MATHCALL_REDIR_NAME2
|
||||||
# undef __MATHCALL_NARROW
|
# undef __MATHCALL_NARROW
|
||||||
# define __MATHCALL_NARROW(func, redir, nargs) \
|
# define __MATHCALL_NARROW(func, redir, nargs) \
|
||||||
__MATHCALL_NARROW_NORMAL (func, nargs)
|
__MATHCALL_NARROW_NORMAL (func, nargs)
|
||||||
@ -599,11 +602,13 @@ extern double __REDIRECT_NTH (nexttoward, (double __x, long double __y),
|
|||||||
# define __MATHCALL_NAME(name) d ## name ## l
|
# define __MATHCALL_NAME(name) d ## name ## l
|
||||||
# ifdef __LDBL_COMPAT
|
# ifdef __LDBL_COMPAT
|
||||||
# define __MATHCALL_REDIR_NAME(name) __nldbl_d ## name ## l
|
# define __MATHCALL_REDIR_NAME(name) __nldbl_d ## name ## l
|
||||||
|
# define __MATHCALL_REDIR_NAME2(name) name
|
||||||
# undef __MATHCALL_NARROW
|
# undef __MATHCALL_NARROW
|
||||||
# define __MATHCALL_NARROW(func, redir, nargs) \
|
# define __MATHCALL_NARROW(func, redir, nargs) \
|
||||||
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
||||||
# elif __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
# elif __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
||||||
# define __MATHCALL_REDIR_NAME(name) __ ## f64 ## name ## ieee128
|
# define __MATHCALL_REDIR_NAME(name) __ ## f64 ## name ## ieee128
|
||||||
|
# define __MATHCALL_REDIR_NAME2(name) __ ## f64 ## name ## ieee128
|
||||||
# undef __MATHCALL_NARROW
|
# undef __MATHCALL_NARROW
|
||||||
# define __MATHCALL_NARROW(func, redir, nargs) \
|
# define __MATHCALL_NARROW(func, redir, nargs) \
|
||||||
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
__MATHCALL_NARROW_REDIR (func, redir, nargs)
|
||||||
@ -615,6 +620,7 @@ extern double __REDIRECT_NTH (nexttoward, (double __x, long double __y),
|
|||||||
# if defined __LDBL_COMPAT \
|
# if defined __LDBL_COMPAT \
|
||||||
|| __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
|| __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI == 1
|
||||||
# undef __MATHCALL_REDIR_NAME
|
# undef __MATHCALL_REDIR_NAME
|
||||||
|
# undef __MATHCALL_REDIR_NAME2
|
||||||
# undef __MATHCALL_NARROW
|
# undef __MATHCALL_NARROW
|
||||||
# define __MATHCALL_NARROW(func, redir, nargs) \
|
# define __MATHCALL_NARROW(func, redir, nargs) \
|
||||||
__MATHCALL_NARROW_NORMAL (func, nargs)
|
__MATHCALL_NARROW_NORMAL (func, nargs)
|
||||||
|
@ -53,11 +53,17 @@
|
|||||||
|| (__HAVE_FLOAT128 && !__HAVE_FLOAT64X))
|
|| (__HAVE_FLOAT128 && !__HAVE_FLOAT64X))
|
||||||
# error "Unsupported combination of types for <tgmath.h>."
|
# error "Unsupported combination of types for <tgmath.h>."
|
||||||
# endif
|
# endif
|
||||||
|
# define __TGMATH_1_NARROW_D(F, X) \
|
||||||
|
(F ## l (X))
|
||||||
# define __TGMATH_2_NARROW_D(F, X, Y) \
|
# define __TGMATH_2_NARROW_D(F, X, Y) \
|
||||||
(F ## l (X, Y))
|
(F ## l (X, Y))
|
||||||
|
# define __TGMATH_1_NARROW_F64X(F, X) \
|
||||||
|
(F ## f128 (X))
|
||||||
# define __TGMATH_2_NARROW_F64X(F, X, Y) \
|
# define __TGMATH_2_NARROW_F64X(F, X, Y) \
|
||||||
(F ## f128 (X, Y))
|
(F ## f128 (X, Y))
|
||||||
# if !__HAVE_FLOAT128
|
# if !__HAVE_FLOAT128
|
||||||
|
# define __TGMATH_1_NARROW_F32X(F, X) \
|
||||||
|
(F ## f64 (X))
|
||||||
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
||||||
(F ## f64 (X, Y))
|
(F ## f64 (X, Y))
|
||||||
# endif
|
# endif
|
||||||
@ -127,15 +133,25 @@
|
|||||||
__TG_F64X_ARG (X) __TG_F128X_ARG (X) \
|
__TG_F64X_ARG (X) __TG_F128X_ARG (X) \
|
||||||
__TG_F64_ARG (X) __TG_F128_ARG (X)
|
__TG_F64_ARG (X) __TG_F128_ARG (X)
|
||||||
|
|
||||||
|
# define __TGMATH_1_NARROW_F(F, X) \
|
||||||
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F (F) (X))
|
||||||
# define __TGMATH_2_NARROW_F(F, X, Y) \
|
# define __TGMATH_2_NARROW_F(F, X, Y) \
|
||||||
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F (F) (X), (Y))
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F (F) (X), (Y))
|
||||||
|
# define __TGMATH_1_NARROW_F16(F, X) \
|
||||||
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F16 (F) (X))
|
||||||
# define __TGMATH_2_NARROW_F16(F, X, Y) \
|
# define __TGMATH_2_NARROW_F16(F, X, Y) \
|
||||||
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F16 (F) (X), (Y))
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F16 (F) (X), (Y))
|
||||||
|
# define __TGMATH_1_NARROW_F32(F, X) \
|
||||||
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F32 (F) (X))
|
||||||
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
||||||
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F32 (F) (X), (Y))
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F32 (F) (X), (Y))
|
||||||
|
# define __TGMATH_1_NARROW_F64(F, X) \
|
||||||
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F64 (F) (X))
|
||||||
# define __TGMATH_2_NARROW_F64(F, X, Y) \
|
# define __TGMATH_2_NARROW_F64(F, X, Y) \
|
||||||
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F64 (F) (X), (Y))
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F64 (F) (X), (Y))
|
||||||
# if __HAVE_FLOAT128
|
# if __HAVE_FLOAT128
|
||||||
|
# define __TGMATH_1_NARROW_F32X(F, X) \
|
||||||
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F32X (F) (X))
|
||||||
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
||||||
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F32X (F) (X), (Y))
|
__builtin_tgmath (__TGMATH_NARROW_FUNCS_F32X (F) (X), (Y))
|
||||||
# endif
|
# endif
|
||||||
@ -540,6 +556,10 @@
|
|||||||
+ (__tgmath_complex_type (Val2)) 0)) \
|
+ (__tgmath_complex_type (Val2)) 0)) \
|
||||||
Cfct##f (Val1, Val2))))
|
Cfct##f (Val1, Val2))))
|
||||||
|
|
||||||
|
# define __TGMATH_1_NARROW_F(F, X) \
|
||||||
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0) > sizeof (double) \
|
||||||
|
? F ## l (X) \
|
||||||
|
: F (X)))
|
||||||
# define __TGMATH_2_NARROW_F(F, X, Y) \
|
# define __TGMATH_2_NARROW_F(F, X, Y) \
|
||||||
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
||||||
+ (__tgmath_real_type (Y)) 0) > sizeof (double) \
|
+ (__tgmath_real_type (Y)) 0) > sizeof (double) \
|
||||||
@ -563,18 +583,33 @@
|
|||||||
have type _Float64, so the *f64 functions are preferred for f32x*
|
have type _Float64, so the *f64 functions are preferred for f32x*
|
||||||
macros when no argument has a wider floating-point type. */
|
macros when no argument has a wider floating-point type. */
|
||||||
# if __HAVE_FLOAT64X_LONG_DOUBLE && __HAVE_DISTINCT_FLOAT128
|
# if __HAVE_FLOAT64X_LONG_DOUBLE && __HAVE_DISTINCT_FLOAT128
|
||||||
|
# define __TGMATH_1_NARROW_F32(F, X) \
|
||||||
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0) > sizeof (_Float64) \
|
||||||
|
? __TGMATH_F128 ((X), F, (X)) \
|
||||||
|
F ## f64x (X) \
|
||||||
|
: F ## f64 (X)))
|
||||||
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
||||||
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
||||||
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
||||||
? __TGMATH_F128 ((X) + (Y), F, (X, Y)) \
|
? __TGMATH_F128 ((X) + (Y), F, (X, Y)) \
|
||||||
F ## f64x (X, Y) \
|
F ## f64x (X, Y) \
|
||||||
: F ## f64 (X, Y)))
|
: F ## f64 (X, Y)))
|
||||||
|
# define __TGMATH_1_NARROW_F64(F, X) \
|
||||||
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0) > sizeof (_Float64) \
|
||||||
|
? __TGMATH_F128 ((X), F, (X)) \
|
||||||
|
F ## f64x (X) \
|
||||||
|
: F ## f128 (X)))
|
||||||
# define __TGMATH_2_NARROW_F64(F, X, Y) \
|
# define __TGMATH_2_NARROW_F64(F, X, Y) \
|
||||||
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
||||||
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
||||||
? __TGMATH_F128 ((X) + (Y), F, (X, Y)) \
|
? __TGMATH_F128 ((X) + (Y), F, (X, Y)) \
|
||||||
F ## f64x (X, Y) \
|
F ## f64x (X, Y) \
|
||||||
: F ## f128 (X, Y)))
|
: F ## f128 (X, Y)))
|
||||||
|
# define __TGMATH_1_NARROW_F32X(F, X) \
|
||||||
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0) > sizeof (_Float64) \
|
||||||
|
? __TGMATH_F128 ((X), F, (X)) \
|
||||||
|
F ## f64x (X) \
|
||||||
|
: F ## f64 (X)))
|
||||||
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
||||||
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
||||||
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
||||||
@ -582,19 +617,31 @@
|
|||||||
F ## f64x (X, Y) \
|
F ## f64x (X, Y) \
|
||||||
: F ## f64 (X, Y)))
|
: F ## f64 (X, Y)))
|
||||||
# elif __HAVE_FLOAT128
|
# elif __HAVE_FLOAT128
|
||||||
|
# define __TGMATH_1_NARROW_F32(F, X) \
|
||||||
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0) > sizeof (_Float64) \
|
||||||
|
? F ## f128 (X) \
|
||||||
|
: F ## f64 (X)))
|
||||||
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
||||||
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
||||||
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \
|
||||||
? F ## f128 (X, Y) \
|
? F ## f128 (X, Y) \
|
||||||
: F ## f64 (X, Y)))
|
: F ## f64 (X, Y)))
|
||||||
|
# define __TGMATH_1_NARROW_F64(F, X) \
|
||||||
|
(F ## f128 (X))
|
||||||
# define __TGMATH_2_NARROW_F64(F, X, Y) \
|
# define __TGMATH_2_NARROW_F64(F, X, Y) \
|
||||||
(F ## f128 (X, Y))
|
(F ## f128 (X, Y))
|
||||||
|
# define __TGMATH_1_NARROW_F32X(F, X) \
|
||||||
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0) > sizeof (_Float32x) \
|
||||||
|
? F ## f64x (X) \
|
||||||
|
: F ## f64 (X)))
|
||||||
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32X(F, X, Y) \
|
||||||
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
(__extension__ (sizeof ((__tgmath_real_type (X)) 0 \
|
||||||
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float32x) \
|
+ (__tgmath_real_type (Y)) 0) > sizeof (_Float32x) \
|
||||||
? F ## f64x (X, Y) \
|
? F ## f64x (X, Y) \
|
||||||
: F ## f64 (X, Y)))
|
: F ## f64 (X, Y)))
|
||||||
# else
|
# else
|
||||||
|
# define __TGMATH_1_NARROW_F32(F, X) \
|
||||||
|
(F ## f64 (X))
|
||||||
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
# define __TGMATH_2_NARROW_F32(F, X, Y) \
|
||||||
(F ## f64 (X, Y))
|
(F ## f64 (X, Y))
|
||||||
# endif
|
# endif
|
||||||
@ -865,6 +912,10 @@
|
|||||||
# define fsub(Val1, Val2) __TGMATH_2_NARROW_F (fsub, Val1, Val2)
|
# define fsub(Val1, Val2) __TGMATH_2_NARROW_F (fsub, Val1, Val2)
|
||||||
# define dsub(Val1, Val2) __TGMATH_2_NARROW_D (dsub, Val1, Val2)
|
# define dsub(Val1, Val2) __TGMATH_2_NARROW_D (dsub, Val1, Val2)
|
||||||
|
|
||||||
|
/* Square root. */
|
||||||
|
# define fsqrt(Val) __TGMATH_1_NARROW_F (fsqrt, Val)
|
||||||
|
# define dsqrt(Val) __TGMATH_1_NARROW_D (dsqrt, Val)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __GLIBC_USE (IEC_60559_TYPES_EXT)
|
#if __GLIBC_USE (IEC_60559_TYPES_EXT)
|
||||||
@ -874,6 +925,7 @@
|
|||||||
# define f16div(Val1, Val2) __TGMATH_2_NARROW_F16 (f16div, Val1, Val2)
|
# define f16div(Val1, Val2) __TGMATH_2_NARROW_F16 (f16div, Val1, Val2)
|
||||||
# define f16mul(Val1, Val2) __TGMATH_2_NARROW_F16 (f16mul, Val1, Val2)
|
# define f16mul(Val1, Val2) __TGMATH_2_NARROW_F16 (f16mul, Val1, Val2)
|
||||||
# define f16sub(Val1, Val2) __TGMATH_2_NARROW_F16 (f16sub, Val1, Val2)
|
# define f16sub(Val1, Val2) __TGMATH_2_NARROW_F16 (f16sub, Val1, Val2)
|
||||||
|
# define f16sqrt(Val) __TGMATH_1_NARROW_F16 (f16sqrt, Val)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if __HAVE_FLOAT32
|
# if __HAVE_FLOAT32
|
||||||
@ -881,6 +933,7 @@
|
|||||||
# define f32div(Val1, Val2) __TGMATH_2_NARROW_F32 (f32div, Val1, Val2)
|
# define f32div(Val1, Val2) __TGMATH_2_NARROW_F32 (f32div, Val1, Val2)
|
||||||
# define f32mul(Val1, Val2) __TGMATH_2_NARROW_F32 (f32mul, Val1, Val2)
|
# define f32mul(Val1, Val2) __TGMATH_2_NARROW_F32 (f32mul, Val1, Val2)
|
||||||
# define f32sub(Val1, Val2) __TGMATH_2_NARROW_F32 (f32sub, Val1, Val2)
|
# define f32sub(Val1, Val2) __TGMATH_2_NARROW_F32 (f32sub, Val1, Val2)
|
||||||
|
# define f32sqrt(Val) __TGMATH_1_NARROW_F32 (f32sqrt, Val)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if __HAVE_FLOAT64 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)
|
# if __HAVE_FLOAT64 && (__HAVE_FLOAT64X || __HAVE_FLOAT128)
|
||||||
@ -888,6 +941,7 @@
|
|||||||
# define f64div(Val1, Val2) __TGMATH_2_NARROW_F64 (f64div, Val1, Val2)
|
# define f64div(Val1, Val2) __TGMATH_2_NARROW_F64 (f64div, Val1, Val2)
|
||||||
# define f64mul(Val1, Val2) __TGMATH_2_NARROW_F64 (f64mul, Val1, Val2)
|
# define f64mul(Val1, Val2) __TGMATH_2_NARROW_F64 (f64mul, Val1, Val2)
|
||||||
# define f64sub(Val1, Val2) __TGMATH_2_NARROW_F64 (f64sub, Val1, Val2)
|
# define f64sub(Val1, Val2) __TGMATH_2_NARROW_F64 (f64sub, Val1, Val2)
|
||||||
|
# define f64sqrt(Val) __TGMATH_1_NARROW_F64 (f64sqrt, Val)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if __HAVE_FLOAT32X
|
# if __HAVE_FLOAT32X
|
||||||
@ -895,6 +949,7 @@
|
|||||||
# define f32xdiv(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xdiv, Val1, Val2)
|
# define f32xdiv(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xdiv, Val1, Val2)
|
||||||
# define f32xmul(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xmul, Val1, Val2)
|
# define f32xmul(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xmul, Val1, Val2)
|
||||||
# define f32xsub(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xsub, Val1, Val2)
|
# define f32xsub(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xsub, Val1, Val2)
|
||||||
|
# define f32xsqrt(Val) __TGMATH_1_NARROW_F32X (f32xsqrt, Val)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if __HAVE_FLOAT64X && (__HAVE_FLOAT128X || __HAVE_FLOAT128)
|
# if __HAVE_FLOAT64X && (__HAVE_FLOAT128X || __HAVE_FLOAT128)
|
||||||
@ -902,6 +957,7 @@
|
|||||||
# define f64xdiv(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xdiv, Val1, Val2)
|
# define f64xdiv(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xdiv, Val1, Val2)
|
||||||
# define f64xmul(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xmul, Val1, Val2)
|
# define f64xmul(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xmul, Val1, Val2)
|
||||||
# define f64xsub(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xsub, Val1, Val2)
|
# define f64xsub(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xsub, Val1, Val2)
|
||||||
|
# define f64xsqrt(Val) __TGMATH_1_NARROW_F64X (f64xsqrt, Val)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -16,9 +16,14 @@
|
|||||||
<https://www.gnu.org/licenses/>. */
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#define NO_MATH_REDIRECT
|
#define NO_MATH_REDIRECT
|
||||||
|
#define dsqrtl __hide_dsqrtl
|
||||||
|
#define f32xsqrtf64 __hide_f32xsqrtf64
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#undef dsqrtl
|
||||||
|
#undef f32xsqrtf64
|
||||||
#include <math_private.h>
|
#include <math_private.h>
|
||||||
#include <math-svid-compat.h>
|
#include <math-svid-compat.h>
|
||||||
|
#include <math-narrow-alias.h>
|
||||||
#include <libm-alias-double.h>
|
#include <libm-alias-double.h>
|
||||||
|
|
||||||
|
|
||||||
@ -33,4 +38,5 @@ __sqrt (double x)
|
|||||||
return __ieee754_sqrt (x);
|
return __ieee754_sqrt (x);
|
||||||
}
|
}
|
||||||
libm_alias_double (__sqrt, sqrt)
|
libm_alias_double (__sqrt, sqrt)
|
||||||
|
libm_alias_double_narrow (__sqrt, sqrt)
|
||||||
#endif
|
#endif
|
||||||
|
@ -24,8 +24,15 @@
|
|||||||
# define NO_MATH_REDIRECT
|
# define NO_MATH_REDIRECT
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# include <fenv.h>
|
# include <fenv.h>
|
||||||
|
# define dsqrtl __hide_dsqrtl
|
||||||
|
# define f32xsqrtf64 __hide_f32xsqrtf64
|
||||||
|
# define f64xsqrtf128 __hide_f64xsqrtf128
|
||||||
# include <math.h>
|
# include <math.h>
|
||||||
|
# undef dsqrtl
|
||||||
|
# undef f32xsqrtf64
|
||||||
|
# undef f64xsqrtf128
|
||||||
# include <math_private.h>
|
# include <math_private.h>
|
||||||
|
# include <math-narrow-alias.h>
|
||||||
|
|
||||||
FLOAT
|
FLOAT
|
||||||
M_DECL_FUNC (__sqrt) (FLOAT x)
|
M_DECL_FUNC (__sqrt) (FLOAT x)
|
||||||
@ -36,5 +43,6 @@ M_DECL_FUNC (__sqrt) (FLOAT x)
|
|||||||
return M_SUF (__ieee754_sqrt) (x);
|
return M_SUF (__ieee754_sqrt) (x);
|
||||||
}
|
}
|
||||||
declare_mgen_alias (__sqrt, sqrt)
|
declare_mgen_alias (__sqrt, sqrt)
|
||||||
|
declare_mgen_alias_narrow (__sqrt, sqrt)
|
||||||
|
|
||||||
#endif /* __USE_WRAPPER_TEMPLATE. */
|
#endif /* __USE_WRAPPER_TEMPLATE. */
|
||||||
|
@ -16,9 +16,12 @@
|
|||||||
<https://www.gnu.org/licenses/>. */
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#define NO_MATH_REDIRECT
|
#define NO_MATH_REDIRECT
|
||||||
|
#define f64xsqrtf128 __hide_f64xsqrtf128
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#undef f64xsqrtf128
|
||||||
#include <math_private.h>
|
#include <math_private.h>
|
||||||
#include <math-svid-compat.h>
|
#include <math-svid-compat.h>
|
||||||
|
#include <math-narrow-alias.h>
|
||||||
#include <libm-alias-ldouble.h>
|
#include <libm-alias-ldouble.h>
|
||||||
|
|
||||||
|
|
||||||
@ -33,4 +36,5 @@ __sqrtl (long double x)
|
|||||||
return __ieee754_sqrtl (x);
|
return __ieee754_sqrtl (x);
|
||||||
}
|
}
|
||||||
libm_alias_ldouble (__sqrt, sqrt)
|
libm_alias_ldouble (__sqrt, sqrt)
|
||||||
|
libm_alias_ldouble_narrow (__sqrt, sqrt)
|
||||||
#endif
|
#endif
|
||||||
|
135
sysdeps/generic/math-narrow-alias.h
Normal file
135
sysdeps/generic/math-narrow-alias.h
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
/* Alias macros for functions returning a narrower type.
|
||||||
|
Copyright (C) 2018-2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#ifndef _MATH_NARROW_ALIAS_H
|
||||||
|
#define _MATH_NARROW_ALIAS_H 1
|
||||||
|
|
||||||
|
#include <bits/floatn.h>
|
||||||
|
#include <bits/long-double.h>
|
||||||
|
|
||||||
|
/* The following macros declare aliases for a narrowing function. The
|
||||||
|
sole argument is the base name of a family of functions, such as
|
||||||
|
"add". If any platform changes long double format after the
|
||||||
|
introduction of narrowing functions, in a way requiring symbol
|
||||||
|
versioning compatibility, additional variants of these macros will
|
||||||
|
be needed. */
|
||||||
|
|
||||||
|
#define libm_alias_float_double_main(func) \
|
||||||
|
weak_alias (__f ## func, f ## func) \
|
||||||
|
weak_alias (__f ## func, f32 ## func ## f64) \
|
||||||
|
weak_alias (__f ## func, f32 ## func ## f32x)
|
||||||
|
|
||||||
|
#ifdef NO_LONG_DOUBLE
|
||||||
|
# define libm_alias_float_double(func) \
|
||||||
|
libm_alias_float_double_main (func) \
|
||||||
|
weak_alias (__f ## func, f ## func ## l)
|
||||||
|
#else
|
||||||
|
# define libm_alias_float_double(func) \
|
||||||
|
libm_alias_float_double_main (func)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define libm_alias_float32x_float64_main(func) \
|
||||||
|
weak_alias (__f32x ## func ## f64, f32x ## func ## f64)
|
||||||
|
|
||||||
|
#ifdef NO_LONG_DOUBLE
|
||||||
|
# define libm_alias_float32x_float64(func) \
|
||||||
|
libm_alias_float32x_float64_main (func) \
|
||||||
|
weak_alias (__f32x ## func ## f64, d ## func ## l)
|
||||||
|
#elif defined __LONG_DOUBLE_MATH_OPTIONAL
|
||||||
|
# define libm_alias_float32x_float64(func) \
|
||||||
|
libm_alias_float32x_float64_main (func) \
|
||||||
|
weak_alias (__f32x ## func ## f64, __nldbl_d ## func ## l)
|
||||||
|
#else
|
||||||
|
# define libm_alias_float32x_float64(func) \
|
||||||
|
libm_alias_float32x_float64_main (func)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128
|
||||||
|
# define libm_alias_float_ldouble_f128(func) \
|
||||||
|
weak_alias (__f ## func ## l, f32 ## func ## f128)
|
||||||
|
# define libm_alias_double_ldouble_f128(func) \
|
||||||
|
weak_alias (__d ## func ## l, f32x ## func ## f128) \
|
||||||
|
weak_alias (__d ## func ## l, f64 ## func ## f128)
|
||||||
|
#else
|
||||||
|
# define libm_alias_float_ldouble_f128(func)
|
||||||
|
# define libm_alias_double_ldouble_f128(func)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __HAVE_FLOAT64X_LONG_DOUBLE
|
||||||
|
# define libm_alias_float_ldouble_f64x(func) \
|
||||||
|
weak_alias (__f ## func ## l, f32 ## func ## f64x)
|
||||||
|
# define libm_alias_double_ldouble_f64x(func) \
|
||||||
|
weak_alias (__d ## func ## l, f32x ## func ## f64x) \
|
||||||
|
weak_alias (__d ## func ## l, f64 ## func ## f64x)
|
||||||
|
#else
|
||||||
|
# define libm_alias_float_ldouble_f64x(func)
|
||||||
|
# define libm_alias_double_ldouble_f64x(func)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define libm_alias_float_ldouble(func) \
|
||||||
|
weak_alias (__f ## func ## l, f ## func ## l) \
|
||||||
|
libm_alias_float_ldouble_f128 (func) \
|
||||||
|
libm_alias_float_ldouble_f64x (func)
|
||||||
|
|
||||||
|
#define libm_alias_double_ldouble(func) \
|
||||||
|
weak_alias (__d ## func ## l, d ## func ## l) \
|
||||||
|
libm_alias_double_ldouble_f128 (func) \
|
||||||
|
libm_alias_double_ldouble_f64x (func)
|
||||||
|
|
||||||
|
#define libm_alias_float64x_float128(func) \
|
||||||
|
weak_alias (__f64x ## func ## f128, f64x ## func ## f128)
|
||||||
|
|
||||||
|
#define libm_alias_float32_float128_main(func) \
|
||||||
|
weak_alias (__f32 ## func ## f128, f32 ## func ## f128)
|
||||||
|
|
||||||
|
#define libm_alias_float64_float128_main(func) \
|
||||||
|
weak_alias (__f64 ## func ## f128, f64 ## func ## f128) \
|
||||||
|
weak_alias (__f64 ## func ## f128, f32x ## func ## f128)
|
||||||
|
|
||||||
|
#include <math-narrow-alias-float128.h>
|
||||||
|
|
||||||
|
/* The following macros declare narrowing-named aliases for a
|
||||||
|
non-narrowing function. */
|
||||||
|
|
||||||
|
#define libm_alias_double_narrow_main(from, to) \
|
||||||
|
weak_alias (from, f32x ## to ## f64)
|
||||||
|
|
||||||
|
#ifdef NO_LONG_DOUBLE
|
||||||
|
# define libm_alias_double_narrow(from, to) \
|
||||||
|
libm_alias_double_narrow_main (from, to) \
|
||||||
|
weak_alias (from, d ## to ## l)
|
||||||
|
#else
|
||||||
|
# define libm_alias_double_narrow(from, to) \
|
||||||
|
libm_alias_double_narrow_main (from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __HAVE_FLOAT64X_LONG_DOUBLE && __HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128
|
||||||
|
# define libm_alias_ldouble_narrow(from, to) \
|
||||||
|
weak_alias (from ## l, f64x ## to ## f128)
|
||||||
|
#else
|
||||||
|
# define libm_alias_ldouble_narrow(from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if __HAVE_DISTINCT_FLOAT128 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
|
||||||
|
# define libm_alias_float128_narrow(from, to) \
|
||||||
|
weak_alias (from ## f128, f64x ## to ## f128)
|
||||||
|
#else
|
||||||
|
# define libm_alias_float128_narrow(from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* math-narrow-alias.h. */
|
@ -38,6 +38,11 @@
|
|||||||
# define declare_mgen_alias_r(from, to) libm_alias_double_r (from, to, _r)
|
# define declare_mgen_alias_r(from, to) libm_alias_double_r (from, to, _r)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef declare_mgen_alias_narrow
|
||||||
|
# define declare_mgen_alias_narrow(from, to) \
|
||||||
|
libm_alias_double_narrow (from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Supply the generic macros. */
|
/* Supply the generic macros. */
|
||||||
#include <math-type-macros.h>
|
#include <math-type-macros.h>
|
||||||
|
|
||||||
|
@ -41,6 +41,10 @@
|
|||||||
# define declare_mgen_alias_r(from, to) libm_alias_float_r (from, to, _r)
|
# define declare_mgen_alias_r(from, to) libm_alias_float_r (from, to, _r)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef declare_mgen_alias_narrow
|
||||||
|
# define declare_mgen_alias_narrow(from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Supply the generic macros. */
|
/* Supply the generic macros. */
|
||||||
#include <math-type-macros.h>
|
#include <math-type-macros.h>
|
||||||
|
|
||||||
|
@ -40,6 +40,11 @@
|
|||||||
# define declare_mgen_alias_r(from, to) libm_alias_float128_r (from, to, _r)
|
# define declare_mgen_alias_r(from, to) libm_alias_float128_r (from, to, _r)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef declare_mgen_alias_narrow
|
||||||
|
# define declare_mgen_alias_narrow(from, to) \
|
||||||
|
libm_alias_float128_narrow (from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Supply the generic macros. */
|
/* Supply the generic macros. */
|
||||||
#include <math-type-macros.h>
|
#include <math-type-macros.h>
|
||||||
|
|
||||||
|
@ -38,6 +38,11 @@
|
|||||||
# define declare_mgen_alias_r(from, to) libm_alias_ldouble_r (from, to, _r)
|
# define declare_mgen_alias_r(from, to) libm_alias_ldouble_r (from, to, _r)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef declare_mgen_alias_narrow
|
||||||
|
# define declare_mgen_alias_narrow(from, to) \
|
||||||
|
libm_alias_ldouble_narrow (from, to)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Supply the generic macros. */
|
/* Supply the generic macros. */
|
||||||
#include <math-type-macros.h>
|
#include <math-type-macros.h>
|
||||||
|
|
||||||
|
@ -42,6 +42,10 @@
|
|||||||
This exposes the appropriate symbol(s) for a
|
This exposes the appropriate symbol(s) for a
|
||||||
function f_r of type FLOAT.
|
function f_r of type FLOAT.
|
||||||
|
|
||||||
|
declare_mgen_alias_narrow(from,to)
|
||||||
|
This exposes the appropriate symbol(s) for narrowing aliases of a
|
||||||
|
function f of type FLOAT.
|
||||||
|
|
||||||
SET_NAN_PAYLOAD(flt, mant)
|
SET_NAN_PAYLOAD(flt, mant)
|
||||||
Set the NaN payload bits of the variable FLT of type FLOAT to
|
Set the NaN payload bits of the variable FLT of type FLOAT to
|
||||||
the mantissa MANT. */
|
the mantissa MANT. */
|
||||||
@ -70,6 +74,9 @@
|
|||||||
#ifndef declare_mgen_alias_r
|
#ifndef declare_mgen_alias_r
|
||||||
# error "declare_mgen_alias_r must be defined."
|
# error "declare_mgen_alias_r must be defined."
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef declare_mgen_alias_narrow
|
||||||
|
# error "declare_mgen_alias_narrow must be defined."
|
||||||
|
#endif
|
||||||
#ifndef SET_NAN_PAYLOAD
|
#ifndef SET_NAN_PAYLOAD
|
||||||
# error "SET_NAN_PAYLOAD must be defined."
|
# error "SET_NAN_PAYLOAD must be defined."
|
||||||
#endif
|
#endif
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
most internal uses in glibc, but not for sqrt itself. */
|
most internal uses in glibc, but not for sqrt itself. */
|
||||||
#define NO_MATH_REDIRECT
|
#define NO_MATH_REDIRECT
|
||||||
#define __ieee754_sqrt __avoid_ieee754_sqrt
|
#define __ieee754_sqrt __avoid_ieee754_sqrt
|
||||||
|
#define f32xsqrtf64 __hide_f32xsqrtf64
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#undef f32xsqrtf64
|
||||||
#include <math_private.h>
|
#include <math_private.h>
|
||||||
#undef __ieee754_sqrt
|
#undef __ieee754_sqrt
|
||||||
extern double __ieee754_sqrt (double);
|
extern double __ieee754_sqrt (double);
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
most internal uses in glibc, but not for sqrt itself. */
|
most internal uses in glibc, but not for sqrt itself. */
|
||||||
#define NO_MATH_REDIRECT
|
#define NO_MATH_REDIRECT
|
||||||
#define __ieee754_sqrt __avoid_ieee754_sqrt
|
#define __ieee754_sqrt __avoid_ieee754_sqrt
|
||||||
|
#define f32xsqrtf64 __hide_f32xsqrtf64
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
#undef f32xsqrtf64
|
||||||
#include <math_private.h>
|
#include <math_private.h>
|
||||||
#undef __ieee754_sqrt
|
#undef __ieee754_sqrt
|
||||||
extern double __ieee754_sqrt (double);
|
extern double __ieee754_sqrt (double);
|
||||||
|
@ -252,6 +252,7 @@ GLOBAL_IEEE754_ENTRY(sqrt)
|
|||||||
// END DOUBLE PRECISION MINIMUM LATENCY SQUARE ROOT ALGORITHM
|
// END DOUBLE PRECISION MINIMUM LATENCY SQUARE ROOT ALGORITHM
|
||||||
GLOBAL_IEEE754_END(sqrt)
|
GLOBAL_IEEE754_END(sqrt)
|
||||||
libm_alias_double_other (__sqrt, sqrt)
|
libm_alias_double_other (__sqrt, sqrt)
|
||||||
|
libm_alias_double_narrow (__sqrt, sqrt)
|
||||||
|
|
||||||
// Stack operations when calling error support.
|
// Stack operations when calling error support.
|
||||||
// (1) (2) (3) (call) (4)
|
// (1) (2) (3) (call) (4)
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
# include <libm-alias-float.h>
|
# include <libm-alias-float.h>
|
||||||
# include <libm-alias-double.h>
|
# include <libm-alias-double.h>
|
||||||
# include <libm-alias-ldouble.h>
|
# include <libm-alias-ldouble.h>
|
||||||
|
# include <math-narrow-alias.h>
|
||||||
|
|
||||||
/* Support for compatible assembler handling. */
|
/* Support for compatible assembler handling. */
|
||||||
|
|
||||||
|
1
sysdeps/ieee754/dbl-64/s_f32xsqrtf64.c
Normal file
1
sysdeps/ieee754/dbl-64/s_f32xsqrtf64.c
Normal file
@ -0,0 +1 @@
|
|||||||
|
/* Defined as an alias of sqrt. */
|
34
sysdeps/ieee754/dbl-64/s_fsqrt.c
Normal file
34
sysdeps/ieee754/dbl-64/s_fsqrt.c
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
/* Square root of double value, narrowing the result to float.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32sqrtf64 __hide_f32sqrtf64
|
||||||
|
#define f32sqrtf32x __hide_f32sqrtf32x
|
||||||
|
#define fsqrtl __hide_fsqrtl
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32sqrtf64
|
||||||
|
#undef f32sqrtf32x
|
||||||
|
#undef fsqrtl
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
float
|
||||||
|
__fsqrt (double x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_ROUND_TO_ODD (x, float, union ieee754_double, , mantissa1);
|
||||||
|
}
|
||||||
|
libm_alias_float_double (sqrt)
|
@ -138,6 +138,9 @@
|
|||||||
#define libm_alias_float_ldouble(func) libm_alias_float32_float128 (func)
|
#define libm_alias_float_ldouble(func) libm_alias_float32_float128 (func)
|
||||||
#undef libm_alias_double_ldouble
|
#undef libm_alias_double_ldouble
|
||||||
#define libm_alias_double_ldouble(func) libm_alias_float64_float128 (func)
|
#define libm_alias_double_ldouble(func) libm_alias_float64_float128 (func)
|
||||||
|
#undef libm_alias_ldouble_narrow
|
||||||
|
#define libm_alias_ldouble_narrow(from, to) \
|
||||||
|
libm_alias_float128_narrow (from, to)
|
||||||
|
|
||||||
#include <math-use-builtins.h>
|
#include <math-use-builtins.h>
|
||||||
#undef USE_NEARBYINTL_BUILTIN
|
#undef USE_NEARBYINTL_BUILTIN
|
||||||
@ -284,6 +287,8 @@
|
|||||||
#define __ddivl __f64divf128
|
#define __ddivl __f64divf128
|
||||||
#define __fmull __f32mulf128
|
#define __fmull __f32mulf128
|
||||||
#define __dmull __f64mulf128
|
#define __dmull __f64mulf128
|
||||||
|
#define __fsqrtl __f32sqrtf128
|
||||||
|
#define __dsqrtl __f64sqrtf128
|
||||||
#define __fsubl __f32subf128
|
#define __fsubl __f32subf128
|
||||||
#define __dsubl __f64subf128
|
#define __dsubl __f64subf128
|
||||||
|
|
||||||
|
6
sysdeps/ieee754/float128/s_f32sqrtf128.c
Normal file
6
sysdeps/ieee754/float128/s_f32sqrtf128.c
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#define f32sqrtf64x __hide_f32sqrtf64x
|
||||||
|
#define f32sqrtf128 __hide_f32sqrtf128
|
||||||
|
#include <float128_private.h>
|
||||||
|
#undef f32sqrtf64x
|
||||||
|
#undef f32sqrtf128
|
||||||
|
#include "../ldbl-128/s_fsqrtl.c"
|
10
sysdeps/ieee754/float128/s_f64sqrtf128.c
Normal file
10
sysdeps/ieee754/float128/s_f64sqrtf128.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#define f32xsqrtf64x __hide_f32xsqrtf64x
|
||||||
|
#define f32xsqrtf128 __hide_f32xsqrtf128
|
||||||
|
#define f64sqrtf64x __hide_f64sqrtf64x
|
||||||
|
#define f64sqrtf128 __hide_f64sqrtf128
|
||||||
|
#include <float128_private.h>
|
||||||
|
#undef f32xsqrtf64x
|
||||||
|
#undef f32xsqrtf128
|
||||||
|
#undef f64sqrtf64x
|
||||||
|
#undef f64sqrtf128
|
||||||
|
#include "../ldbl-128/s_dsqrtl.c"
|
2
sysdeps/ieee754/float128/s_f64xsqrtf128.c
Normal file
2
sysdeps/ieee754/float128/s_f64xsqrtf128.c
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#include <float128_private.h>
|
||||||
|
#include "../ldbl-128/s_f64xsqrtf128.c"
|
37
sysdeps/ieee754/ldbl-128/s_dsqrtl.c
Normal file
37
sysdeps/ieee754/ldbl-128/s_dsqrtl.c
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
/* Square root of long double (ldbl-128) value, narrowing the result to double.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32xsqrtf64x __hide_f32xsqrtf64x
|
||||||
|
#define f32xsqrtf128 __hide_f32xsqrtf128
|
||||||
|
#define f64sqrtf64x __hide_f64sqrtf64x
|
||||||
|
#define f64sqrtf128 __hide_f64sqrtf128
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32xsqrtf64x
|
||||||
|
#undef f32xsqrtf128
|
||||||
|
#undef f64sqrtf64x
|
||||||
|
#undef f64sqrtf128
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
double
|
||||||
|
__dsqrtl (_Float128 x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_ROUND_TO_ODD (x, double, union ieee854_long_double, l,
|
||||||
|
mantissa3);
|
||||||
|
}
|
||||||
|
libm_alias_double_ldouble (sqrt)
|
38
sysdeps/ieee754/ldbl-128/s_f64xsqrtf128.c
Normal file
38
sysdeps/ieee754/ldbl-128/s_f64xsqrtf128.c
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/* Square root of _Float128 value, converting the result to _Float64x.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
/* math_ldbl.h defines _Float128 to long double for this directory,
|
||||||
|
but when they are different, this function must be defined with
|
||||||
|
_Float128 arguments to avoid defining an alias with an incompatible
|
||||||
|
type. */
|
||||||
|
#undef _Float128
|
||||||
|
|
||||||
|
#if __HAVE_FLOAT64X_LONG_DOUBLE && __HAVE_DISTINCT_FLOAT128
|
||||||
|
_Float64x
|
||||||
|
__f64xsqrtf128 (_Float128 x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_ROUND_TO_ODD (x, _Float64x, union ieee854_long_double, l,
|
||||||
|
mantissa3);
|
||||||
|
}
|
||||||
|
libm_alias_float64x_float128 (sqrt)
|
||||||
|
#else
|
||||||
|
/* Defined as an alias of sqrtl. */
|
||||||
|
#endif
|
33
sysdeps/ieee754/ldbl-128/s_fsqrtl.c
Normal file
33
sysdeps/ieee754/ldbl-128/s_fsqrtl.c
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* Square root of long double (ldbl-128) value, narrowing the result to float.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32sqrtf64x __hide_f32sqrtf64x
|
||||||
|
#define f32sqrtf128 __hide_f32sqrtf128
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32sqrtf64x
|
||||||
|
#undef f32sqrtf128
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
float
|
||||||
|
__fsqrtl (_Float128 x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_ROUND_TO_ODD (x, float, union ieee854_long_double, l,
|
||||||
|
mantissa3);
|
||||||
|
}
|
||||||
|
libm_alias_float_ldouble (sqrt)
|
@ -123,6 +123,10 @@ libm {
|
|||||||
__y1ieee128;
|
__y1ieee128;
|
||||||
__ynieee128;
|
__ynieee128;
|
||||||
}
|
}
|
||||||
|
GLIBC_2.35 {
|
||||||
|
__f32sqrtieee128;
|
||||||
|
__f64sqrtieee128;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
libc {
|
libc {
|
||||||
LDBL_IBM128_VERSION {
|
LDBL_IBM128_VERSION {
|
||||||
|
28
sysdeps/ieee754/ldbl-128ibm/s_dsqrtl.c
Normal file
28
sysdeps/ieee754/ldbl-128ibm/s_dsqrtl.c
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/* Square root of long double (ldbl-128ibm) value, narrowing the result to
|
||||||
|
double.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
double
|
||||||
|
__dsqrtl (long double x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_TRIVIAL (x, double, l);
|
||||||
|
}
|
||||||
|
libm_alias_double_ldouble (sqrt)
|
28
sysdeps/ieee754/ldbl-128ibm/s_fsqrtl.c
Normal file
28
sysdeps/ieee754/ldbl-128ibm/s_fsqrtl.c
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/* Square root of long double (ldbl-128ibm) value, narrowing the result to
|
||||||
|
float.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
float
|
||||||
|
__fsqrtl (long double x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_TRIVIAL (x, float, l);
|
||||||
|
}
|
||||||
|
libm_alias_float_ldouble (sqrt)
|
33
sysdeps/ieee754/ldbl-96/s_dsqrtl.c
Normal file
33
sysdeps/ieee754/ldbl-96/s_dsqrtl.c
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/* Square root of long double (ldbl-96) value, narrowing the result to double.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32xsqrtf64x __hide_f32xsqrtf64x
|
||||||
|
#define f64sqrtf64x __hide_f64sqrtf64x
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32xsqrtf64x
|
||||||
|
#undef f64sqrtf64x
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
double
|
||||||
|
__dsqrtl (long double x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_ROUND_TO_ODD (x, double, union ieee854_long_double, l,
|
||||||
|
mantissa1);
|
||||||
|
}
|
||||||
|
libm_alias_double_ldouble (sqrt)
|
31
sysdeps/ieee754/ldbl-96/s_fsqrtl.c
Normal file
31
sysdeps/ieee754/ldbl-96/s_fsqrtl.c
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/* Square root of long double (ldbl-96) value, narrowing the result to float.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32sqrtf64x __hide_f32sqrtf64x
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32sqrtf64x
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
|
||||||
|
float
|
||||||
|
__fsqrtl (long double x)
|
||||||
|
{
|
||||||
|
NARROW_SQRT_ROUND_TO_ODD (x, float, union ieee854_long_double, l,
|
||||||
|
mantissa1);
|
||||||
|
}
|
||||||
|
libm_alias_float_ldouble (sqrt)
|
@ -45,7 +45,7 @@ libnldbl-calls = asprintf dprintf fprintf fscanf fwprintf fwscanf iovfscanf \
|
|||||||
nextup nextdown totalorder totalordermag getpayload \
|
nextup nextdown totalorder totalordermag getpayload \
|
||||||
canonicalize setpayload setpayloadsig llogb fmaxmag fminmag \
|
canonicalize setpayload setpayloadsig llogb fmaxmag fminmag \
|
||||||
roundeven fromfp ufromfp fromfpx ufromfpx fadd dadd \
|
roundeven fromfp ufromfp fromfpx ufromfpx fadd dadd \
|
||||||
fdiv ddiv fmul dmul fsub dsub
|
fdiv ddiv fmul dmul fsqrt dsqrt fsub dsub
|
||||||
libnldbl-routines = $(libnldbl-calls:%=nldbl-%)
|
libnldbl-routines = $(libnldbl-calls:%=nldbl-%)
|
||||||
libnldbl-inhibit-o = $(object-suffixes)
|
libnldbl-inhibit-o = $(object-suffixes)
|
||||||
libnldbl-static-only-routines = $(libnldbl-routines)
|
libnldbl-static-only-routines = $(libnldbl-routines)
|
||||||
@ -90,6 +90,7 @@ CFLAGS-nldbl-ctanh.c = -fno-builtin-ctanhl
|
|||||||
CFLAGS-nldbl-dadd.c = -fno-builtin-daddl
|
CFLAGS-nldbl-dadd.c = -fno-builtin-daddl
|
||||||
CFLAGS-nldbl-ddiv.c = -fno-builtin-ddivl
|
CFLAGS-nldbl-ddiv.c = -fno-builtin-ddivl
|
||||||
CFLAGS-nldbl-dmul.c = -fno-builtin-dmull
|
CFLAGS-nldbl-dmul.c = -fno-builtin-dmull
|
||||||
|
CFLAGS-nldbl-dsqrt.c = -fno-builtin-dsqrtl
|
||||||
CFLAGS-nldbl-dsub.c = -fno-builtin-dsubl
|
CFLAGS-nldbl-dsub.c = -fno-builtin-dsubl
|
||||||
CFLAGS-nldbl-erf.c = -fno-builtin-erfl
|
CFLAGS-nldbl-erf.c = -fno-builtin-erfl
|
||||||
CFLAGS-nldbl-erfc.c = -fno-builtin-erfcl
|
CFLAGS-nldbl-erfc.c = -fno-builtin-erfcl
|
||||||
@ -113,6 +114,7 @@ CFLAGS-nldbl-fmul.c = -fno-builtin-fmull
|
|||||||
CFLAGS-nldbl-frexp.c = -fno-builtin-frexpl
|
CFLAGS-nldbl-frexp.c = -fno-builtin-frexpl
|
||||||
CFLAGS-nldbl-fromfp.c = -fno-builtin-fromfpl
|
CFLAGS-nldbl-fromfp.c = -fno-builtin-fromfpl
|
||||||
CFLAGS-nldbl-fromfpx.c = -fno-builtin-fromfpxl
|
CFLAGS-nldbl-fromfpx.c = -fno-builtin-fromfpxl
|
||||||
|
CFLAGS-nldbl-fsqrt.c = -fno-builtin-fsqrtl
|
||||||
CFLAGS-nldbl-fsub.c = -fno-builtin-fsubl
|
CFLAGS-nldbl-fsub.c = -fno-builtin-fsubl
|
||||||
CFLAGS-nldbl-gamma.c = -fno-builtin-gammal
|
CFLAGS-nldbl-gamma.c = -fno-builtin-gammal
|
||||||
CFLAGS-nldbl-getpayload.c = -fno-builtin-getpayloadl
|
CFLAGS-nldbl-getpayload.c = -fno-builtin-getpayloadl
|
||||||
|
28
sysdeps/ieee754/ldbl-opt/nldbl-dsqrt.c
Normal file
28
sysdeps/ieee754/ldbl-opt/nldbl-dsqrt.c
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/* Compatibility routine for IEEE double as long double for dsqrt.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define dsqrtl __hide_dsqrtl
|
||||||
|
#include "nldbl-compat.h"
|
||||||
|
#undef dsqrtl
|
||||||
|
|
||||||
|
double
|
||||||
|
attribute_hidden
|
||||||
|
dsqrtl (double x)
|
||||||
|
{
|
||||||
|
return sqrt (x);
|
||||||
|
}
|
28
sysdeps/ieee754/ldbl-opt/nldbl-fsqrt.c
Normal file
28
sysdeps/ieee754/ldbl-opt/nldbl-fsqrt.c
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/* Compatibility routine for IEEE double as long double for fsqrt.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define fsqrtl __hide_fsqrtl
|
||||||
|
#include "nldbl-compat.h"
|
||||||
|
#undef fsqrtl
|
||||||
|
|
||||||
|
float
|
||||||
|
attribute_hidden
|
||||||
|
fsqrtl (double x)
|
||||||
|
{
|
||||||
|
return fsqrt (x);
|
||||||
|
}
|
67
sysdeps/ieee754/soft-fp/s_dsqrtl.c
Normal file
67
sysdeps/ieee754/soft-fp/s_dsqrtl.c
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
/* Square root of long double (ldbl-128) value, narrowing the result to
|
||||||
|
double, using soft-fp.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32xsqrtf64x __hide_f32xsqrtf64x
|
||||||
|
#define f32xsqrtf128 __hide_f32xsqrtf128
|
||||||
|
#define f64sqrtf64x __hide_f64sqrtf64x
|
||||||
|
#define f64sqrtf128 __hide_f64sqrtf128
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32xsqrtf64x
|
||||||
|
#undef f32xsqrtf128
|
||||||
|
#undef f64sqrtf64x
|
||||||
|
#undef f64sqrtf128
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
#include <libc-diag.h>
|
||||||
|
|
||||||
|
/* Some components of the result's significand and exponent are not
|
||||||
|
set in cases where they are not used in packing, but the compiler
|
||||||
|
does not see that they are set in all cases where they are used,
|
||||||
|
resulting in warnings that they may be used uninitialized. */
|
||||||
|
DIAG_PUSH_NEEDS_COMMENT;
|
||||||
|
DIAG_IGNORE_NEEDS_COMMENT (7, "-Wmaybe-uninitialized");
|
||||||
|
#include <soft-fp.h>
|
||||||
|
#include <double.h>
|
||||||
|
#include <quad.h>
|
||||||
|
|
||||||
|
double
|
||||||
|
__dsqrtl (_Float128 x)
|
||||||
|
{
|
||||||
|
FP_DECL_EX;
|
||||||
|
FP_DECL_Q (X);
|
||||||
|
FP_DECL_Q (R);
|
||||||
|
FP_DECL_D (RN);
|
||||||
|
double ret;
|
||||||
|
|
||||||
|
FP_INIT_ROUNDMODE;
|
||||||
|
FP_UNPACK_Q (X, x);
|
||||||
|
FP_SQRT_Q (R, X);
|
||||||
|
#if _FP_W_TYPE_SIZE < 64
|
||||||
|
FP_TRUNC_COOKED (D, Q, 2, 4, RN, R);
|
||||||
|
#else
|
||||||
|
FP_TRUNC_COOKED (D, Q, 1, 2, RN, R);
|
||||||
|
#endif
|
||||||
|
FP_PACK_D (ret, RN);
|
||||||
|
FP_HANDLE_EXCEPTIONS;
|
||||||
|
CHECK_NARROW_SQRT (ret, x);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
DIAG_POP_NEEDS_COMMENT;
|
||||||
|
|
||||||
|
libm_alias_double_ldouble (sqrt)
|
54
sysdeps/ieee754/soft-fp/s_fsqrt.c
Normal file
54
sysdeps/ieee754/soft-fp/s_fsqrt.c
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
/* Square root of double value, narrowing the result to float, using soft-fp.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32sqrtf64 __hide_f32sqrtf64
|
||||||
|
#define f32sqrtf32x __hide_f32sqrtf32x
|
||||||
|
#define fsqrtl __hide_fsqrtl
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32sqrtf64
|
||||||
|
#undef f32sqrtf32x
|
||||||
|
#undef fsqrtl
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
#include <soft-fp.h>
|
||||||
|
#include <single.h>
|
||||||
|
#include <double.h>
|
||||||
|
|
||||||
|
float
|
||||||
|
__fsqrt (double x)
|
||||||
|
{
|
||||||
|
FP_DECL_EX;
|
||||||
|
FP_DECL_D (X);
|
||||||
|
FP_DECL_D (R);
|
||||||
|
FP_DECL_S (RN);
|
||||||
|
float ret;
|
||||||
|
|
||||||
|
FP_INIT_ROUNDMODE;
|
||||||
|
FP_UNPACK_D (X, x);
|
||||||
|
FP_SQRT_D (R, X);
|
||||||
|
#if _FP_W_TYPE_SIZE < _FP_FRACBITS_D
|
||||||
|
FP_TRUNC_COOKED (S, D, 1, 2, RN, R);
|
||||||
|
#else
|
||||||
|
FP_TRUNC_COOKED (S, D, 1, 1, RN, R);
|
||||||
|
#endif
|
||||||
|
FP_PACK_S (ret, RN);
|
||||||
|
FP_HANDLE_EXCEPTIONS;
|
||||||
|
CHECK_NARROW_SQRT (ret, x);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
libm_alias_float_double (sqrt)
|
53
sysdeps/ieee754/soft-fp/s_fsqrtl.c
Normal file
53
sysdeps/ieee754/soft-fp/s_fsqrtl.c
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
/* Square root of long double (ldbl-128) value, narrowing the result to
|
||||||
|
float, using soft-fp.
|
||||||
|
Copyright (C) 2021 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
|
||||||
|
<https://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
|
#define f32sqrtf64x __hide_f32sqrtf64x
|
||||||
|
#define f32sqrtf128 __hide_f32sqrtf128
|
||||||
|
#include <math.h>
|
||||||
|
#undef f32sqrtf64x
|
||||||
|
#undef f32sqrtf128
|
||||||
|
|
||||||
|
#include <math-narrow.h>
|
||||||
|
#include <soft-fp.h>
|
||||||
|
#include <single.h>
|
||||||
|
#include <quad.h>
|
||||||
|
|
||||||
|
float
|
||||||
|
__fsqrtl (_Float128 x)
|
||||||
|
{
|
||||||
|
FP_DECL_EX;
|
||||||
|
FP_DECL_Q (X);
|
||||||
|
FP_DECL_Q (R);
|
||||||
|
FP_DECL_S (RN);
|
||||||
|
float ret;
|
||||||
|
|
||||||
|
FP_INIT_ROUNDMODE;
|
||||||
|
FP_UNPACK_Q (X, x);
|
||||||
|
FP_SQRT_Q (R, X);
|
||||||
|
#if _FP_W_TYPE_SIZE < 64
|
||||||
|
FP_TRUNC_COOKED (S, Q, 1, 4, RN, R);
|
||||||
|
#else
|
||||||
|
FP_TRUNC_COOKED (S, Q, 1, 2, RN, R);
|
||||||
|
#endif
|
||||||
|
FP_PACK_S (ret, RN);
|
||||||
|
FP_HANDLE_EXCEPTIONS;
|
||||||
|
CHECK_NARROW_SQRT (ret, x);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
libm_alias_float_ldouble (sqrt)
|
@ -1089,3 +1089,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1623,6 +1623,9 @@ ldouble: 1
|
|||||||
Function: "sqrt_downward":
|
Function: "sqrt_downward":
|
||||||
ldouble: 1
|
ldouble: 1
|
||||||
|
|
||||||
|
Function: "sqrt_ldouble":
|
||||||
|
double: 1
|
||||||
|
|
||||||
Function: "sqrt_towardzero":
|
Function: "sqrt_towardzero":
|
||||||
ldouble: 1
|
ldouble: 1
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#undef declare_mgen_finite_alias
|
#undef declare_mgen_finite_alias
|
||||||
#undef declare_mgen_alias
|
#undef declare_mgen_alias
|
||||||
#undef declare_mgen_alias_r
|
#undef declare_mgen_alias_r
|
||||||
|
#undef declare_mgen_alias_narrow
|
||||||
|
|
||||||
#define libm_alias_finite(from, to)
|
#define libm_alias_finite(from, to)
|
||||||
#define libm_alias_float128_r(from, to, r)
|
#define libm_alias_float128_r(from, to, r)
|
||||||
@ -40,6 +41,7 @@
|
|||||||
#define declare_mgen_finite_alias(from, to)
|
#define declare_mgen_finite_alias(from, to)
|
||||||
#define declare_mgen_alias(from, to)
|
#define declare_mgen_alias(from, to)
|
||||||
#define declare_mgen_alias_r(from, to)
|
#define declare_mgen_alias_r(from, to)
|
||||||
|
#define declare_mgen_alias_narrow(from, to)
|
||||||
|
|
||||||
/* Likewise, disable hidden symbol support. This is not needed
|
/* Likewise, disable hidden symbol support. This is not needed
|
||||||
for the implementation objects as the redirects already give
|
for the implementation objects as the redirects already give
|
||||||
|
@ -27,7 +27,9 @@
|
|||||||
|
|
||||||
/* Include the real math.h to avoid optimizations caused by include/math.h
|
/* Include the real math.h to avoid optimizations caused by include/math.h
|
||||||
(e.x fabsf128 prototype is masked by an inline definition).*/
|
(e.x fabsf128 prototype is masked by an inline definition).*/
|
||||||
|
#define f64xsqrtf128 __hide_f64xsqrtf128
|
||||||
#include <math/math.h>
|
#include <math/math.h>
|
||||||
|
#undef f64xsqrtf128
|
||||||
#include <math_private.h>
|
#include <math_private.h>
|
||||||
#include <complex.h>
|
#include <complex.h>
|
||||||
#include <first-versions.h>
|
#include <first-versions.h>
|
||||||
@ -36,6 +38,7 @@
|
|||||||
|
|
||||||
#include <libm-alias-float128.h>
|
#include <libm-alias-float128.h>
|
||||||
#include <libm-alias-finite.h>
|
#include <libm-alias-finite.h>
|
||||||
|
#include <math-narrow-alias.h>
|
||||||
|
|
||||||
/* _F128_IFUNC2(func, from, r)
|
/* _F128_IFUNC2(func, from, r)
|
||||||
Generate an ifunc symbol func ## r from the symbols
|
Generate an ifunc symbol func ## r from the symbols
|
||||||
@ -149,6 +152,9 @@
|
|||||||
/* scalbnf128 is an alias of ldexpf128. */
|
/* scalbnf128 is an alias of ldexpf128. */
|
||||||
#define DECL_ALIAS_s_ldexp(f) MAKE_IFUNCP_R (f,) MAKE_IFUNCP_WRAP_R (wrap_, scalbn,)
|
#define DECL_ALIAS_s_ldexp(f) MAKE_IFUNCP_R (f,) MAKE_IFUNCP_WRAP_R (wrap_, scalbn,)
|
||||||
|
|
||||||
|
/* f64xsqrtf128 is an alias of sqrtf128. */
|
||||||
|
#define DECL_ALIAS_w_sqrt(f) MAKE_IFUNCP_R (f,) libm_alias_float128_narrow (__sqrt, sqrt)
|
||||||
|
|
||||||
/* Declare an IFUNC for a symbol which only exists
|
/* Declare an IFUNC for a symbol which only exists
|
||||||
to provide long double == ieee128 ABI. */
|
to provide long double == ieee128 ABI. */
|
||||||
#define DECL_LDOUBLE_ALIAS(func, RTYPE, ARGS) \
|
#define DECL_LDOUBLE_ALIAS(func, RTYPE, ARGS) \
|
||||||
|
@ -1054,3 +1054,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1111,6 +1111,19 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -697,3 +697,9 @@ GLIBC_2.32 ynf32 F
|
|||||||
GLIBC_2.32 ynf32x F
|
GLIBC_2.32 ynf32x F
|
||||||
GLIBC_2.32 ynf64 F
|
GLIBC_2.32 ynf64 F
|
||||||
GLIBC_2.32 ynl F
|
GLIBC_2.32 ynl F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -471,6 +471,12 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 _LIB_VERSION D 0x4
|
GLIBC_2.4 _LIB_VERSION D 0x4
|
||||||
GLIBC_2.4 __clog10 F
|
GLIBC_2.4 __clog10 F
|
||||||
GLIBC_2.4 __clog10f F
|
GLIBC_2.4 __clog10f F
|
||||||
|
@ -471,6 +471,12 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 _LIB_VERSION D 0x4
|
GLIBC_2.4 _LIB_VERSION D 0x4
|
||||||
GLIBC_2.4 __clog10 F
|
GLIBC_2.4 __clog10 F
|
||||||
GLIBC_2.4 __clog10f F
|
GLIBC_2.4 __clog10f F
|
||||||
|
@ -763,3 +763,9 @@ GLIBC_2.31 totalordermagf32 F
|
|||||||
GLIBC_2.31 totalordermagf32x F
|
GLIBC_2.31 totalordermagf32x F
|
||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -782,4 +782,10 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 exp2l F
|
GLIBC_2.4 exp2l F
|
||||||
|
@ -1096,3 +1096,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1026,3 +1026,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -471,6 +471,12 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 _LIB_VERSION D 0x4
|
GLIBC_2.4 _LIB_VERSION D 0x4
|
||||||
GLIBC_2.4 __clog10 F
|
GLIBC_2.4 __clog10 F
|
||||||
GLIBC_2.4 __clog10f F
|
GLIBC_2.4 __clog10f F
|
||||||
|
@ -822,3 +822,9 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -783,3 +783,9 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -783,3 +783,9 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -782,4 +782,10 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 exp2l F
|
GLIBC_2.4 exp2l F
|
||||||
|
@ -1054,3 +1054,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -783,3 +783,9 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -828,6 +828,12 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -827,6 +827,12 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -821,6 +821,12 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -1214,3 +1214,18 @@ GLIBC_2.32 __y0ieee128 F
|
|||||||
GLIBC_2.32 __y1ieee128 F
|
GLIBC_2.32 __y1ieee128 F
|
||||||
GLIBC_2.32 __ynieee128 F
|
GLIBC_2.32 __ynieee128 F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 __f32sqrtieee128 F
|
||||||
|
GLIBC_2.35 __f64sqrtieee128 F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -938,3 +938,16 @@ GLIBC_2.33 ynf32x F
|
|||||||
GLIBC_2.33 ynf64 F
|
GLIBC_2.33 ynf64 F
|
||||||
GLIBC_2.33 ynf64x F
|
GLIBC_2.33 ynf64x F
|
||||||
GLIBC_2.33 ynl F
|
GLIBC_2.33 ynl F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1035,3 +1035,16 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1055,6 +1055,19 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -1055,6 +1055,19 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -782,4 +782,10 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 exp2l F
|
GLIBC_2.4 exp2l F
|
||||||
|
@ -782,4 +782,10 @@ GLIBC_2.31 totalordermagf32x F
|
|||||||
GLIBC_2.31 totalordermagf64 F
|
GLIBC_2.31 totalordermagf64 F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 exp2l F
|
GLIBC_2.4 exp2l F
|
||||||
|
@ -1062,6 +1062,19 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
GLIBC_2.4 __clog10l F
|
GLIBC_2.4 __clog10l F
|
||||||
GLIBC_2.4 __finitel F
|
GLIBC_2.4 __finitel F
|
||||||
GLIBC_2.4 __fpclassifyl F
|
GLIBC_2.4 __fpclassifyl F
|
||||||
|
@ -1054,3 +1054,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1087,3 +1087,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
@ -1087,3 +1087,16 @@ GLIBC_2.31 totalordermagf64 F
|
|||||||
GLIBC_2.31 totalordermagf64x F
|
GLIBC_2.31 totalordermagf64x F
|
||||||
GLIBC_2.31 totalordermagl F
|
GLIBC_2.31 totalordermagl F
|
||||||
GLIBC_2.32 exp10f F
|
GLIBC_2.32 exp10f F
|
||||||
|
GLIBC_2.35 dsqrtl F
|
||||||
|
GLIBC_2.35 f32sqrtf128 F
|
||||||
|
GLIBC_2.35 f32sqrtf32x F
|
||||||
|
GLIBC_2.35 f32sqrtf64 F
|
||||||
|
GLIBC_2.35 f32sqrtf64x F
|
||||||
|
GLIBC_2.35 f32xsqrtf128 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64 F
|
||||||
|
GLIBC_2.35 f32xsqrtf64x F
|
||||||
|
GLIBC_2.35 f64sqrtf128 F
|
||||||
|
GLIBC_2.35 f64sqrtf64x F
|
||||||
|
GLIBC_2.35 f64xsqrtf128 F
|
||||||
|
GLIBC_2.35 fsqrt F
|
||||||
|
GLIBC_2.35 fsqrtl F
|
||||||
|
Loading…
Reference in New Issue
Block a user