glibc/sysdeps/ieee754/ldbl-96
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
include/bits Add canonicalize, canonicalizef, canonicalizel. 2016-10-26 23:14:31 +00:00
e_acoshl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_atanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
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_j0l.c Adjust thresholds in Bessel function implementations (bug 14469). 2020-02-14 14:16:25 +00:00
e_j1l.c Adjust thresholds in Bessel function implementations (bug 14469). 2020-02-14 14:16:25 +00:00
e_jnl.c Add libm_alias_finite for _finite symbols 2020-01-03 10:02:04 -03:00
e_lgammal_r.c Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
e_rem_pio2l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_sinhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
gamma_product.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
gamma_productl.c 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_sinl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -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 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_product.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 add workload traces for cbrtl 2021-05-10 18:45:34 +02:00
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
nan-pseudo-number.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_cbrtl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_copysignl.c math: Use builtin for ldbl-96 copysign 2022-04-07 14:54:14 -03:00
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 Prefer https to http for gnu.org and fsf.org URLs 2019-09-07 02:43:31 -07:00
s_fabsl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08: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_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_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 Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_fromfpxl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
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_iscanonicall.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
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_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_nexttoward.c Do not include math-barriers.h in math_private.h. 2018-05-11 15:11:38 +00:00
s_nexttowardf.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
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_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_setpayloadl_main.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_setpayloadl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_setpayloadsigl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
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_ufromfpl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
s_ufromfpxl.c Use libm_alias_ldouble for ldbl-96 functions. 2017-10-05 21:13:40 +00:00
strtold_l.c 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
test-canonical-ldbl-96.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-sinl-pseudo.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
test-totalorderl-ldbl-96.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x2y2m1.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