diff options
author | Joseph Myers <josmyers@redhat.com> | 2024-06-17 13:48:13 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-06-17 13:48:13 +0000 |
commit | 55eb99e9a9d840ba452b128be14d6529c2dde039 (patch) | |
tree | 6810f148fb04ca7217c67aa3f2e10b72d86a8d2d /sysdeps/mach | |
parent | bb014f50c4a0c8d8db1ba5af55c104e430b5533d (diff) | |
download | glibc-55eb99e9a9d840ba452b128be14d6529c2dde039.tar.gz glibc-55eb99e9a9d840ba452b128be14d6529c2dde039.tar.xz glibc-55eb99e9a9d840ba452b128be14d6529c2dde039.zip |
Implement C23 log10p1
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the log10p1 functions (log10(1+x): like log1p, but for base-10 logarithms). This is directly analogous to the log2p1 implementation (except that whereas log2p1 has a smaller underflow range than log1p, log10p1 has a larger underflow range). The test inputs are copied from those for log1p and log2p1, plus a few more inputs in that wider underflow range. Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/libm.abilist | 8 | ||||
-rw-r--r-- | sysdeps/mach/hurd/x86_64/libm.abilist | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/libm.abilist b/sysdeps/mach/hurd/i386/libm.abilist index 88010e5b2d..c999fc00ce 100644 --- a/sysdeps/mach/hurd/i386/libm.abilist +++ b/sysdeps/mach/hurd/i386/libm.abilist @@ -1181,6 +1181,14 @@ GLIBC_2.35 fsqrt F GLIBC_2.35 fsqrtl F GLIBC_2.35 hypot F GLIBC_2.35 hypotf F +GLIBC_2.40 log10p1 F +GLIBC_2.40 log10p1f F +GLIBC_2.40 log10p1f128 F +GLIBC_2.40 log10p1f32 F +GLIBC_2.40 log10p1f32x F +GLIBC_2.40 log10p1f64 F +GLIBC_2.40 log10p1f64x F +GLIBC_2.40 log10p1l F GLIBC_2.40 log2p1 F GLIBC_2.40 log2p1f F GLIBC_2.40 log2p1f128 F diff --git a/sysdeps/mach/hurd/x86_64/libm.abilist b/sysdeps/mach/hurd/x86_64/libm.abilist index 394e5988cb..256717f5a5 100644 --- a/sysdeps/mach/hurd/x86_64/libm.abilist +++ b/sysdeps/mach/hurd/x86_64/libm.abilist @@ -1038,6 +1038,14 @@ GLIBC_2.38 ynf32x F GLIBC_2.38 ynf64 F GLIBC_2.38 ynf64x F GLIBC_2.38 ynl F +GLIBC_2.40 log10p1 F +GLIBC_2.40 log10p1f F +GLIBC_2.40 log10p1f128 F +GLIBC_2.40 log10p1f32 F +GLIBC_2.40 log10p1f32x F +GLIBC_2.40 log10p1f64 F +GLIBC_2.40 log10p1f64x F +GLIBC_2.40 log10p1l F GLIBC_2.40 log2p1 F GLIBC_2.40 log2p1f F GLIBC_2.40 log2p1f128 F |