mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
5a80d39d0d
This patch obsoletes the pow10, pow10f and pow10l functions (makes them into compat symbols, not available for new ports or static linking). The exp10 names for these functions are standardized (in TS 18661-4) and were added in the same glibc version (2.1) as pow10 so source code can change to use them without any loss of portability. Since pow10 is deliberately not provided for _Float128, only exp10, this slightly simplifies moving to the new wrapper templates in the !LIBM_SVID_COMPAT case, by avoiding needing to arrange for pow10, pow10f and pow10l to be defined by those templates. Tested for x86_64, and with build-many-glibcs.py. * manual/math.texi (pow10): Do not document. (pow10f): Likewise. (pow10l): Likewise. * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare. * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise. * math/libm-test-exp10.inc (pow10_test): Remove. (do_test): Do not call pow10. * math/w_exp10_compat.c (pow10): Make into compat symbol. [NO_LONG_DOUBLE] (pow10l): Likewise. * math/w_exp10f_compat.c (pow10f): Likewise. * math/w_exp10l_compat.c (pow10l): Likewise. * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>. (pow10): Make into compat symbol. * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>. (pow10f): Make into compat symbol. * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>. (pow10l): Make into compat symbol. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove pow10. (CFLAGS-nldbl-pow10.c): Remove variable.. * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file. * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)]. * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol): Undefine and redefine. (pow10l): Make into compat symbol. * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps. * sysdeps/alpha/fpu/libm-test-ulps: Likewise. * sysdeps/arm/libm-test-ulps: Likewise. * sysdeps/hppa/fpu/libm-test-ulps: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Likewise. * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise. * sysdeps/microblaze/libm-test-ulps: Likewise. * sysdeps/mips/mips32/libm-test-ulps: Likewise. * sysdeps/mips/mips64/libm-test-ulps: Likewise. * sysdeps/nios2/libm-test-ulps: Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Likewise. * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise. * sysdeps/s390/fpu/libm-test-ulps: Likewise. * sysdeps/sh/libm-test-ulps: Likewise. * sysdeps/sparc/fpu/libm-test-ulps: Likewise. * sysdeps/tile/libm-test-ulps: Likewise. * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
414 lines
4.8 KiB
Plaintext
414 lines
4.8 KiB
Plaintext
# Begin of automatic generation
|
|
|
|
# Maximal error of functions:
|
|
Function: "acos_towardzero":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "acosh":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "asin_towardzero":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "asinh":
|
|
double: 1
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "atan2":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "atanh":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "cacos":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Imaginary part of "cacos":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Real part of "cacosh":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Imaginary part of "cacosh":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Real part of "casin":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "casin":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Real part of "casinh":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Imaginary part of "casinh":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "catan":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "catan":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "catanh":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "catanh":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "cbrt":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "ccos":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "ccos":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "ccosh":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "ccosh":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "cexp":
|
|
double: 2
|
|
float: 1
|
|
idouble: 2
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "cexp":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: Real part of "clog":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "clog":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "clog10":
|
|
double: 2
|
|
float: 2
|
|
idouble: 2
|
|
ifloat: 2
|
|
|
|
Function: Imaginary part of "clog10":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "cos":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "cos_towardzero":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "cosh":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "cosh_towardzero":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "cpow":
|
|
double: 2
|
|
float: 4
|
|
idouble: 2
|
|
ifloat: 4
|
|
|
|
Function: Imaginary part of "cpow":
|
|
float: 2
|
|
ifloat: 2
|
|
|
|
Function: Real part of "csin":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "csinh":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "csinh":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "csqrt":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "csqrt":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Real part of "ctan":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "ctan":
|
|
double: 2
|
|
float: 1
|
|
idouble: 2
|
|
ifloat: 1
|
|
|
|
Function: Real part of "ctan_towardzero":
|
|
double: 5
|
|
float: 3
|
|
idouble: 5
|
|
ifloat: 3
|
|
|
|
Function: Imaginary part of "ctan_towardzero":
|
|
double: 2
|
|
float: 3
|
|
idouble: 2
|
|
ifloat: 3
|
|
|
|
Function: Real part of "ctanh":
|
|
double: 2
|
|
float: 1
|
|
idouble: 2
|
|
ifloat: 1
|
|
|
|
Function: Imaginary part of "ctanh":
|
|
double: 2
|
|
float: 2
|
|
idouble: 2
|
|
ifloat: 2
|
|
|
|
Function: Real part of "ctanh_towardzero":
|
|
double: 2
|
|
float: 3
|
|
idouble: 2
|
|
ifloat: 3
|
|
|
|
Function: Imaginary part of "ctanh_towardzero":
|
|
double: 5
|
|
float: 3
|
|
idouble: 5
|
|
ifloat: 3
|
|
|
|
Function: "erf":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "erfc":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "exp10":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "exp10_towardzero":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "exp_towardzero":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "expm1":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "expm1_towardzero":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "fma_towardzero":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "gamma":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "hypot":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "j0":
|
|
double: 2
|
|
float: 2
|
|
idouble: 2
|
|
ifloat: 2
|
|
|
|
Function: "j1":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: "jn":
|
|
double: 4
|
|
float: 4
|
|
idouble: 4
|
|
ifloat: 4
|
|
|
|
Function: "lgamma":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "log":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "log10":
|
|
double: 1
|
|
float: 2
|
|
idouble: 1
|
|
ifloat: 2
|
|
|
|
Function: "log1p":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "pow":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "pow_towardzero":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "sin":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "sin_towardzero":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "sincos":
|
|
float: 1
|
|
ifloat: 1
|
|
|
|
Function: "sinh_towardzero":
|
|
double: 1
|
|
idouble: 1
|
|
|
|
Function: "tan_towardzero":
|
|
double: 1
|
|
float: 1
|
|
idouble: 1
|
|
ifloat: 1
|
|
|
|
Function: "tgamma":
|
|
double: 4
|
|
float: 3
|
|
idouble: 4
|
|
ifloat: 3
|
|
|
|
Function: "y0":
|
|
double: 2
|
|
float: 1
|
|
idouble: 2
|
|
ifloat: 1
|
|
|
|
Function: "y1":
|
|
double: 3
|
|
float: 2
|
|
idouble: 3
|
|
ifloat: 2
|
|
|
|
Function: "yn":
|
|
double: 3
|
|
float: 2
|
|
idouble: 3
|
|
ifloat: 2
|
|
|
|
# end of automatic generation
|