aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/i686/fpu/multiarch
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-12-05 21:42:10 +0000
committerJoseph Myers <josmyers@redhat.com>2024-12-05 21:42:10 +0000
commitf9e90e4b4ce71f88470c8c8b0a16c21088294be4 (patch)
treef1480a938f936a29630f67901a86b7e2c750eff1 /sysdeps/i386/i686/fpu/multiarch
parent062257c5d929e3c9a83a26624a09e57936ac6b5e (diff)
downloadglibc-f9e90e4b4ce71f88470c8c8b0a16c21088294be4.zip
glibc-f9e90e4b4ce71f88470c8c8b0a16c21088294be4.tar.gz
glibc-f9e90e4b4ce71f88470c8c8b0a16c21088294be4.tar.bz2
Implement C23 tanpi
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the tanpi functions (tan(pi*x)). Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'sysdeps/i386/i686/fpu/multiarch')
-rw-r--r--sysdeps/i386/i686/fpu/multiarch/libm-test-ulps24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
index 326dfeb..225e8f9 100644
--- a/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
+++ b/sysdeps/i386/i686/fpu/multiarch/libm-test-ulps
@@ -1709,6 +1709,30 @@ float: 3
float128: 3
ldouble: 4
+Function: "tanpi":
+double: 2
+float: 2
+float128: 2
+ldouble: 2
+
+Function: "tanpi_downward":
+double: 2
+float: 3
+float128: 4
+ldouble: 4
+
+Function: "tanpi_towardzero":
+double: 2
+float: 3
+float128: 4
+ldouble: 4
+
+Function: "tanpi_upward":
+double: 2
+float: 4
+float128: 3
+ldouble: 4
+
Function: "tgamma":
double: 9
float128: 4