glibc/sysdeps/i386/fpu
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
..
doasin.c
e_acos.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acosf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_acosh.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_acoshf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_acoshl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_acosl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asin.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_asinf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atan2l.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_atanh.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_atanhf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_atanhl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_exp2.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp2l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp10.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_exp10l.S
e_exp_data.c Add new exp and exp2 implementations 2018-09-05 16:22:00 +01:00
e_exp.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_expl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_fmod.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_fmodf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_fmodl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_hypot.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_ilogb.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_ilogbf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_ilogbl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log2_data.c Add new log2 implementation 2018-09-12 17:36:33 +01:00
e_log2.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log2l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log10.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log10f.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log10l.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_log_data.c Add new log implementation 2018-09-12 17:33:30 +01:00
e_log.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_logl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_pow_log_data.c Add new pow implementation 2018-09-19 10:04:51 +01:00
e_pow.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_powl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_remainder.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_remainderf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_remainderl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_scalb.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_scalbf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_scalbl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sqrt.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
e_sqrtf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
fclrexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetmode.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feupdateenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fraiseexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ftestexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
i386-math-asm.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Implies
libm-test-ulps Implement C23 logp1 2024-06-17 13:47:09 +00:00
libm-test-ulps-name
math_err.c Add new exp and exp2 implementations 2018-09-05 16:22:00 +01:00
math-tests-snan.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
math-tests-trap-force.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mpatan2.c
mpatan.c
mpsqrt.c
s_asinh.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_asinhf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_asinhl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_atan.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atanf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_atanl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_cbrt.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_cbrtf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_cbrtl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ceil.c math: x86 ceill traps when FE_INEXACT is enabled (BZ 31600) 2024-04-04 14:29:28 -03:00
s_ceilf.c math: x86 ceill traps when FE_INEXACT is enabled (BZ 31600) 2024-04-04 14:29:28 -03:00
s_expm1.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_expm1f.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_expm1l.S
s_f32xaddf64.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f32xdivf64.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f32xmulf64.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_f32xsubf64.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fdim.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_finite.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_finitef.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_finitel.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_floor.c math: x86 floor traps when FE_INEXACT is enabled (BZ 31601) 2024-04-04 14:29:28 -03:00
s_floorf.c math: x86 floor traps when FE_INEXACT is enabled (BZ 31601) 2024-04-04 14:29:28 -03:00
s_fmax.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fmaxf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fmaxl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fmin.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fminf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_fminl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_frexp.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_frexpf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_frexpl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_isinfl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_llrint.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_llrintf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_llrintl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_log1p.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_log1pf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_log1pl.S x86: Remove .tfloat usage 2022-10-03 14:03:21 -03:00
s_logb.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_logbf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_logbl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_lrint.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_lrintf.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_lrintl.S Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_nearbyint.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_nearbyintl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
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 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_remquo.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_remquof.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_remquol.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rint.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rintf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_rintl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbln.c
s_scalblnf.c
s_scalblnl.c
s_scalbn.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbnf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_scalbnl.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_significand.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_significandf.S Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_significandl.c Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
s_trunc.c math: x86 trunc traps when FE_INEXACT is enabled (BZ 31603) 2024-04-04 14:29:28 -03:00
s_truncf.c math: x86 trunc traps when FE_INEXACT is enabled (BZ 31603) 2024-04-04 14:29:28 -03:00
Versions
w_exp2.c Remove the error handling wrapper from exp and exp2 2018-11-21 09:55:02 +00:00
w_exp10_compat.c math: Fix i386 and m68k exp10 on static build (BZ 31775) 2024-05-21 13:44:22 -03:00
w_exp.c Remove the error handling wrapper from exp and exp2 2018-11-21 09:55:02 +00:00
w_fmod_compat.c math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488) 2024-05-21 13:43:39 -03:00
w_fmodf_compat.c math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488) 2024-05-21 13:43:39 -03:00
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
w_sqrt_compat.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
w_sqrt.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00