mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
bb014f50c4
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. |
||
---|---|---|
.. | ||
be | ||
bits | ||
le | ||
nptl | ||
__longjmp.S | ||
_mcount.S | ||
abort-instr.h | ||
asm-syntax.h | ||
atomic-machine.h | ||
backtrace_linux.c | ||
backtrace.c | ||
bsd-_setjmp.S | ||
bsd-setjmp.S | ||
configure | ||
configure.ac | ||
crti.S | ||
crtn.S | ||
dl-machine.h | ||
dl-tls.h | ||
dl-trampoline.S | ||
elf-initfini.h | ||
gccframe.h | ||
Implies | ||
jmpbuf-unwind.h | ||
ldbl-classify-compat.h | ||
ldsodefs.h | ||
libc-tls.c | ||
libm-test-ulps | ||
libm-test-ulps-name | ||
machine-gmon.h | ||
Makefile | ||
preconfigure | ||
preconfigure.ac | ||
setjmp.S | ||
sfp-machine.h | ||
sotruss-lib.c | ||
stackinfo.h | ||
start.S | ||
sysdep.h | ||
tst-audit.h | ||
tst-file-align.h | ||
utmp-size.h |