aboutsummaryrefslogtreecommitdiff
path: root/math/Versions
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-12-04 10:20:44 +0000
committerJoseph Myers <josmyers@redhat.com>2024-12-04 10:20:44 +0000
commit0ae0af68d8fa3bf6cbe1e4f1de5929ff71de67b3 (patch)
tree532181355fdc15427d84f2927db7ee807d2618c4 /math/Versions
parent1c4cebb84b9e33aea9a90adfadb031d1f1eba927 (diff)
downloadglibc-0ae0af68d8fa3bf6cbe1e4f1de5929ff71de67b3.tar.xz
glibc-0ae0af68d8fa3bf6cbe1e4f1de5929ff71de67b3.zip
Implement C23 cospi
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the cospi functions (cos(pi*x)). Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'math/Versions')
-rw-r--r--math/Versions6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/Versions b/math/Versions
index 49d61f212f..72dff5ff5b 100644
--- a/math/Versions
+++ b/math/Versions
@@ -653,4 +653,10 @@ libm {
log10p1f64x; log10p1f128;
logp1f64x; logp1f128;
}
+ GLIBC_2.41 {
+ # Functions not involving _Float64x or _Float128, for all configurations.
+ cospi; cospif; cospil; cospif32; cospif64; cospif32x;
+ # Functions involving _Float64x or _Float128, for some configurations.
+ cospif64x; cospif128;
+ }
}