aboutsummaryrefslogtreecommitdiff
path: root/math/Versions
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-06-17 13:48:13 +0000
committerJoseph Myers <josmyers@redhat.com>2024-06-17 13:48:13 +0000
commit55eb99e9a9d840ba452b128be14d6529c2dde039 (patch)
tree6810f148fb04ca7217c67aa3f2e10b72d86a8d2d /math/Versions
parentbb014f50c4a0c8d8db1ba5af55c104e430b5533d (diff)
downloadglibc-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 'math/Versions')
-rw-r--r--math/Versions2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/Versions b/math/Versions
index f6ddd2f4f7..633722f8c6 100644
--- a/math/Versions
+++ b/math/Versions
@@ -642,9 +642,11 @@ libm {
GLIBC_2.40 {
# Functions not involving _Float64x or _Float128, for all configurations.
log2p1; log2p1f; log2p1l; log2p1f32; log2p1f64; log2p1f32x;
+ log10p1; log10p1f; log10p1l; log10p1f32; log10p1f64; log10p1f32x;
logp1; logp1f; logp1l; logp1f32; logp1f64; logp1f32x;
# Functions involving _Float64x or _Float128, for some configurations.
log2p1f64x; log2p1f128;
+ log10p1f64x; log10p1f128;
logp1f64x; logp1f128;
}
}