glibc/sysdeps/ieee754/ldbl-128ibm
Aurelien Jarno 2b5478569e Avoid undefined behaviour in ibm128 implementation of llroundl (BZ #29488)
Detecting an overflow edge case depended on signed overflow of a long
long. Replace the additions and the overflow checks by
__builtin_add_overflow().

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2022-10-24 20:48:02 +02:00
..
bits Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
include/bits Rename __LONG_DOUBLE_USES_FLOAT128 to __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 2020-04-30 08:52:08 -05:00
e_acoshl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_acosl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_asinl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_atan2l.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atanhl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_coshl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_exp10l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_expl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_fmodl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_gammal_r.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_hypotl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_ilogbl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_j0l.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_j1l.c Fix BZ #29463 in the ibm128 implementation of y1l too 2022-10-24 10:59:20 -03:00
e_jnl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_lgammal_r.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_log2l.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_log10l.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_logl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_powl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_rem_pio2l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
e_remainderl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sinhl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_sqrtl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
gamma_productl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ieee754.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_cosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_sincosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_sinl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
k_tanl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
ldbl2mpn.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
lgamma_negl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
lgamma_productl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile ldbl-128ibm: Let long double files have specific compiler flags 2020-03-06 09:17:32 -06:00
math_ldbl.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
math-nan-payload-ldouble.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mpn2ldbl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
printf_fphex.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_asinhl.c Move math_check_force_underflow macros to separate math-underflow.h. 2018-05-10 00:53:04 +00:00
s_atanl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_cbrtl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_ceill.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_copysignl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cosl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_daddl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_ddivl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dfmal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dmull.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dsqrtl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_dsubl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_erfl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_expm1l.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_fabsl.c math: Add math-use-builtins-fabs (BZ#29027) 2022-05-23 17:49:18 -03:00
s_faddl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fdivl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_ffmal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_finitel.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_floorl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fmal.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fmull.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fpclassifyl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_frexpl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fromfpl_main.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fromfpl.c Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
s_fromfpxl.c Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
s_fsqrtl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_fsubl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_getpayloadl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_iscanonicall.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_isinfl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_isnanl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_issignalingl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llrintl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llroundl.c Avoid undefined behaviour in ibm128 implementation of llroundl (BZ #29488) 2022-10-24 20:48:02 +02:00
s_log1pl.c Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_logbl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_lrintl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lroundl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_modfl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_nextafterl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nexttoward.c Do not include math-barriers.h in math_private.h. 2018-05-11 15:11:38 +00:00
s_nexttowardf.c Do not include math-barriers.h in math_private.h. 2018-05-11 15:11:38 +00:00
s_nextupl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_remquol.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_rintl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_roundevenl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_roundl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_scalblnl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbnl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_setpayloadl_main.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_setpayloadl.c Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
s_setpayloadsigl.c Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
s_signbitl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_sincosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_sinl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhl.c Move math_check_force_underflow macros to separate math-underflow.h. 2018-05-10 00:53:04 +00:00
s_tanl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_totalorderl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_totalordermagl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_truncl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_ufromfpl.c Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
s_ufromfpxl.c Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
strtold_l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
t_expl.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
t_sincosl.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-canonical-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-fmodl-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-fmodrem-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-remainderl-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-remquol-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
test-totalorderl-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
tst-strtold-ldbl-128ibm.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
x2y2m1l.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00