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
e_acoshl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinl.c
e_atanhl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_coshl.c
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
e_j1l.c
e_jnl.c
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
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
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
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
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_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
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
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_ufromfpl.c
s_ufromfpxl.c
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