aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-12-09 23:01:29 +0000
committerJoseph Myers <josmyers@redhat.com>2024-12-09 23:01:29 +0000
commit28d102d15c6af7f80cb1077e098e020476d26d00 (patch)
treeea46b5497d8ed73dab0ada5d3297e85410b5b097 /sysdeps/x86_64
parentbe13e467641cda4bd147ef3ef3afe9e4c6a35e1d (diff)
downloadglibc-28d102d15c6af7f80cb1077e098e020476d26d00.zip
glibc-28d102d15c6af7f80cb1077e098e020476d26d00.tar.gz
glibc-28d102d15c6af7f80cb1077e098e020476d26d00.tar.bz2
Implement C23 acospi
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the acospi functions (acos(x)/pi). Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/fpu/libm-test-ulps24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/libm-test-ulps b/sysdeps/x86_64/fpu/libm-test-ulps
index c09c81c..13cfe01 100644
--- a/sysdeps/x86_64/fpu/libm-test-ulps
+++ b/sysdeps/x86_64/fpu/libm-test-ulps
@@ -89,6 +89,30 @@ float: 1
Function: "acosh_vlen8_avx2":
float: 2
+Function: "acospi":
+double: 1
+float: 1
+float128: 1
+ldouble: 1
+
+Function: "acospi_downward":
+double: 1
+float: 2
+float128: 1
+ldouble: 3
+
+Function: "acospi_towardzero":
+double: 1
+float: 2
+float128: 1
+ldouble: 3
+
+Function: "acospi_upward":
+double: 2
+float: 1
+float128: 2
+ldouble: 2
+
Function: "asin":
double: 1
float: 1