aboutsummaryrefslogtreecommitdiff
path: root/math/gen-tgmath-tests.py
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-12-11 21:51:49 +0000
committerJoseph Myers <josmyers@redhat.com>2024-12-11 21:51:49 +0000
commitffe79c446ced76d7c1a77804ff2cc32eccbc7c7e (patch)
treefa436fea1f0eebeb843ae0c16df84f120f859eb3 /math/gen-tgmath-tests.py
parentaec85b2557cdb2cc1fc726a50c33848826f00f4d (diff)
downloadglibc-ffe79c446ced76d7c1a77804ff2cc32eccbc7c7e.tar.xz
glibc-ffe79c446ced76d7c1a77804ff2cc32eccbc7c7e.zip
Implement C23 atanpi
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the atanpi functions (atan(x)/pi). Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'math/gen-tgmath-tests.py')
-rwxr-xr-xmath/gen-tgmath-tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/gen-tgmath-tests.py b/math/gen-tgmath-tests.py
index a04a43018a..ef4944b67e 100755
--- a/math/gen-tgmath-tests.py
+++ b/math/gen-tgmath-tests.py
@@ -744,6 +744,7 @@ class Tests(object):
# TS 18661-4 functions.
self.add_tests('acospi', 'r', ['r'])
self.add_tests('asinpi', 'r', ['r'])
+ self.add_tests('atanpi', 'r', ['r'])
self.add_tests('cospi', 'r', ['r'])
self.add_tests('exp10', 'r', ['r'])
self.add_tests('exp2m1', 'r', ['r'])