glibc/sysdeps/ieee754/dbl-64
Joseph Myers 6c010c5dde Use C2x return value from getpayload of non-NaN (bug 26073).
In TS 18661-1, getpayload had an unspecified return value for a
non-NaN argument, while C2x requires the return value -1 in that case.

This patch implements the return value of -1.  I don't think this is
worth having a new symbol version that's an alias of the old one,
although occasionally we do that in such cases where the new function
semantics are a refinement of the old ones (to avoid programs relying
on the new semantics running on older glibc versions but not behaving
as intended).

Tested for x86_64 and x86; also ran math/ tests for aarch64 and
powerpc.
2020-07-06 16:18:02 +00:00
..
wordsize-64 Use C2x return value from getpayload of non-NaN (bug 26073). 2020-07-06 16:18:02 +00:00
asincos.tbl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
atnat2.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
atnat.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
branred.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
branred.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dbl2mpn.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dla.h ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
doasin.c ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
doasin.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dosincos.c ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
dosincos.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
e_acos.c
e_acosh.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_asin.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_atan2.c ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
e_atanh.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_cosh.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_exp2.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_exp10.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_exp_data.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
e_exp.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_fmod.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_gamma_r.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_hypot.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_ilogb.c
e_j0.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_j1.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_jn.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_lgamma_r.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_log2_data.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
e_log2.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_log10.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_log_data.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
e_log.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_pow_log_data.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
e_pow.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_remainder.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_sinh.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_sqrt.c ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
gamma_product.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gamma_productf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
k_rem_pio2.c Fix a few typos in comments 2019-01-12 13:44:51 +00:00
k_tan.c
lgamma_neg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lgamma_product.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile
math_config.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
math_err.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
MathLib.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpa-arch.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpa.c Fix maybe-uninitialized error on powerpc 2020-01-17 21:02:13 -03:00
mpa.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpatan2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpatan.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpatan.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpn2dbl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpsqrt.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mpsqrt.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mptan.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mydefs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
powtwo.tbl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
root.tbl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_asinh.c
s_atan.c ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
s_cbrt.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_ceil.c Use GCC builtins for ceil functions if desired. 2019-12-11 15:12:17 +01:00
s_copysign.c Use GCC builtins for copysign functions if desired. 2019-12-11 15:12:19 +01:00
s_cos.c
s_erf.c
s_expm1.c
s_f32xaddf64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_f32xdivf64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_f32xmulf64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_f32xsubf64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_fabs.c
s_fadd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_fdiv.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_finite.c math: Use wordsize-64 version for finite 2019-06-12 14:32:39 -03:00
s_floor.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_fma.c ieee754: provide gcc builtins based generic fma functions 2020-06-03 10:23:28 -07:00
s_fmaf.c ieee754: provide gcc builtins based generic fma functions 2020-06-03 10:23:28 -07:00
s_fmul.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_fpclassify.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_frexp.c
s_fromfp_main.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_fromfp.c
s_fromfpx.c
s_fsub.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_getpayload.c Use C2x return value from getpayload of non-NaN (bug 26073). 2020-07-06 16:18:02 +00:00
s_isinf.c math: Use wordsize-64 version for isinf 2019-06-12 14:32:39 -03:00
s_isnan.c math: Use wordsize-64 version for isnan 2019-06-12 14:32:18 -03:00
s_issignaling.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_llrint.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_llround.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_log1p.c
s_logb.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_lrint.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_lround.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_modf.c
s_nearbyint.c Use GCC builtins for nearbyint functions if desired. 2019-12-11 15:12:15 +01:00
s_nexttoward.c
s_nextup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_remquo.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_rint.c Use GCC builtins for rint functions if desired. 2019-12-11 15:12:16 +01:00
s_round.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_roundeven.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_scalbln.c
s_scalbn.c
s_setpayload_main.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_setpayload.c
s_setpayloadsig.c
s_signbit.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_sin.c Remove a comment claiming that sin/cos round correctly. 2020-02-07 17:15:37 +00:00
s_sincos.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_tan.c ieee754/dbl-64: Reduce the scope of temporary storage variables 2020-06-15 13:09:21 -07:00
s_tanh.c
s_totalorder.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_totalordermag.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_trunc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
s_ufromfp.c
s_ufromfpx.c
sincos32.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sincos32.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sincostab.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
uasncs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
uatan.tbl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
urem.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
usncs.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utan.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utan.tbl Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
w_exp2.c
w_exp.c
w_log2.c Remove the error handling wrapper from log2 2018-11-21 09:57:21 +00:00
w_log.c Remove the error handling wrapper from log 2018-11-21 09:56:27 +00:00
w_pow.c Remove the error handling wrapper from pow 2018-11-21 09:58:36 +00:00
x2y2m1.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x2y2m1f.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00