glibc/sysdeps/ieee754/float128
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
..
e_acosf128.c
e_acoshf128.c
e_asinf128.c
e_atan2f128.c
e_atanhf128.c
e_coshf128.c
e_exp10f128.c
e_expf128.c
e_fmodf128.c
e_gammaf128_r.c
e_hypotf128.c
e_ilogbf128.c
e_j0f128.c
e_j1f128.c
e_jnf128.c
e_lgammaf128_r.c
e_log2f128.c
e_log10f128.c
e_logf128.c
e_powf128.c
e_rem_pio2f128.c
e_remainderf128.c
e_scalbf128.c
e_sinhf128.c
float128_private.h Implement C23 logp1 2024-06-17 13:47:09 +00:00
float1282mpn.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
gamma_productf128.c
ieee754_float128.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
k_cosf128.c
k_sincosf128.c
k_sinf128.c
k_tanf128.c
lgamma_negf128.c
lgamma_productf128.c
Makeconfig Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
Makefile Implement C23 logp1 2024-06-17 13:47:09 +00:00
math-nan-payload-float128.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mpn2float128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_asinhf128.c
s_atanf128.c
s_cbrtf128.c
s_ceilf128.c Use ceil functions not __ceil functions in glibc libm. 2018-09-17 20:42:06 +00:00
s_copysignf128.c Use copysign functions not __copysign functions in glibc libm. 2018-09-27 20:04:48 +00:00
s_cosf128.c
s_erff128.c
s_expm1f128.c
s_f32addf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f32divf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f32fmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f32mulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f32sqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f32subf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_f64addf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f64divf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f64fmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f64mulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f64sqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f64subf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_f64xaddf128.c Add narrowing add functions. 2018-02-10 02:08:43 +00:00
s_f64xdivf128.c Add narrowing divide functions. 2018-05-17 00:40:52 +00:00
s_f64xfmaf128.c Add narrowing fma functions 2021-09-22 21:25:31 +00:00
s_f64xmulf128.c Add narrowing multiply functions. 2018-05-16 00:05:28 +00:00
s_f64xsqrtf128.c Add narrowing square root functions 2021-09-10 20:56:22 +00:00
s_f64xsubf128.c Add narrowing subtract functions. 2018-03-20 00:34:52 +00:00
s_fabsf128.c
s_finitef128.c
s_floorf128.c Use floor functions not __floor functions in glibc libm. 2018-09-14 13:09:01 +00:00
s_fmaf128.c powerpc64le: Avoid conflicting types for f64xfmaf128 when IFUNC is not used 2021-09-23 19:29:54 -03:00
s_fpclassifyf128.c
s_frexpf128.c
s_fromfpf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_fromfpxf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_getpayloadf128.c
s_isinff128.c
s_isnanf128.c Don't provide XXXf128_do_not_use aliases [BZ #31757] 2024-05-22 06:12:17 -07:00
s_issignalingf128.c
s_llrintf128.c
s_llroundf128.c
s_log1pf128.c
s_logbf128.c
s_lrintf128.c
s_lroundf128.c
s_modff128.c
s_nearbyintf128.c
s_nextafterf128.c
s_nexttowardf128.c
s_nextupf128.c
s_remquof128.c
s_rintf128.c Use rint functions not __rint functions in glibc libm. 2018-09-14 13:10:39 +00:00
s_roundevenf128.c math: redirect roundeven function 2021-06-27 07:56:57 -07:00
s_roundf128.c Use round functions not __round functions in glibc libm. 2018-09-27 12:35:23 +00:00
s_scalblnf128.c
s_scalbnf128.c
s_setpayloadf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_setpayloadsigf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_signbitf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_significandf128.c
s_sincosf128.c
s_sinf128.c
s_tanf128.c
s_tanhf128.c
s_totalorderf128.c
s_totalordermagf128.c
s_truncf128.c Use trunc functions not __trunc functions in glibc libm. 2018-09-20 21:11:10 +00:00
s_ufromfpf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
s_ufromfpxf128.c Use libm_alias_float128 more in sysdeps/ieee754/float128. 2017-11-24 23:53:54 +00:00
strfromf128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strtof128_l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strtof128_nan.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
strtof128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
t_sincosf128.c
Versions Move __isnanf128 to libc.so 2021-03-30 14:58:19 +05:30
w_scalbf128.c Add a generic scalb implementation 2020-02-14 08:24:56 -06:00
wcstof128_l.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wcstof128_nan.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
wcstof128.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
x2y2m1f128.c