glibc/sysdeps/ieee754/ldbl-128
Joseph Myers bb014f50c4 Implement C23 logp1
C23 adds various <math.h> function families originally defined in TS
18661-4.  Add the logp1 functions (aliases for log1p functions - the
name is intended to be more consistent with the new log2p1 and
log10p1, where clearly it would have been very confusing to name those
functions log21p and log101p).  As aliases rather than new functions,
the content of this patch is somewhat different from those actually
adding new functions.

Tests are shared with log1p, so this patch *does* mechanically update
all affected libm-test-ulps files to expect the same errors for both
functions.

The vector versions of log1p on aarch64 and x86_64 are *not* updated
to have logp1 aliases (and thus there are no corresponding header,
tests, abilist or ulps changes for vector functions either).  It would
be reasonable for such vector aliases and corresponding changes to
other files to be made separately.  For now, the log1p tests instead
avoid testing logp1 in the vector case (a Makefile change is needed to
avoid problems with grep, used in generating the .c files for vector
function tests, matching more than one ALL_RM_TEST line in a file
testing multiple functions with the same inputs, when it assumes that
the .inc file only has a single such line).

Tested for x86_64 and x86, and with build-many-glibcs.py.
2024-06-17 13:47:09 +00:00
..
bits Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_acoshl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acosl.c
e_asinl.c
e_atan2l.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshl.c
e_exp10l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_expl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -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 2024-01-01 10:53:40 -08:00
e_hypotl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_ilogbl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_j0l.c
e_j1l.c Ensure calculations happen with desired rounding mode in y1lf128 2022-08-18 12:32:18 +12:00
e_jnl.c
e_lgammal_r.c
e_log2l.c
e_log10l.c
e_logl.c
e_powl.c
e_rem_pio2l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_remainderl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
float128-abi.h Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
gamma_productl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ieee754.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
k_cosl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
k_sincosl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
k_sinl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
k_tanl.c
ldbl2mpn.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
lgamma_negl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
lgamma_productl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makeconfig
Makefile Implement C23 logp1 2024-06-17 13:47:09 +00:00
math_ldbl.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
math-nan-payload-ldouble.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mpn2ldbl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
printf_fphex_macros.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
printf_fphex.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_asinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atanl.c
s_cbrtl.c
s_ceill.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
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 2024-01-01 10:53:40 -08:00
s_ddivl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_dfmal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_dmull.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_dsqrtl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_dsubl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_erfl.c
s_expm1l.c
s_f64xaddf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f64xdivf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f64xfmaf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f64xmulf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f64xsqrtf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f64xsubf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fabsl.c Fix ldbl-128 built-in function use 2023-01-05 00:02:54 +00:00
s_faddl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fdivl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ffmal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_finitel.c Don't provide XXXf128_do_not_use aliases [BZ #31757] 2024-05-22 06:12:17 -07:00
s_floorl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_fma.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fmal.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fmull.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fpclassifyl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -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 2024-01-01 10:53:40 -08:00
s_fromfpl.c
s_fromfpxl.c
s_fsqrtl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fsubl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_getpayloadl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_isinfl.c Don't provide XXXf128_do_not_use aliases [BZ #31757] 2024-05-22 06:12:17 -07:00
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 2024-01-01 10:53:40 -08:00
s_llrintl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_llroundl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_log1pl.c
s_logbl.c Use GCC builtins for logb functions if desired. 2022-11-29 16:00:28 +08:00
s_lrintl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_lroundl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_modfl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nextafterl.c Don't provide XXXf128_do_not_use aliases [BZ #31757] 2024-05-22 06:12:17 -07:00
s_nexttoward.c
s_nexttowardf.c
s_nextupl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_remquol.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_rintl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_roundevenl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_roundl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -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 2024-01-01 10:53:40 -08:00
s_setpayloadl.c
s_setpayloadsigl.c
s_signbitl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_sincosl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_sinl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_tanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
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 2024-01-01 10:53:40 -08:00
s_totalordermagl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_truncl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ufromfpl.c
s_ufromfpxl.c
strtold_l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
t_expl.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
t_sincosl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x2y2m1l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00