aboutsummaryrefslogtreecommitdiff
path: root/math/gen-auto-libm-tests.c
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-12-10 20:42:20 +0000
committerJoseph Myers <josmyers@redhat.com>2024-12-10 20:42:20 +0000
commitf962932206eca2cfed0a26e72220ad3465bf9e65 (patch)
tree33f72059fe06461b8da5f234a70f8352822a4405 /math/gen-auto-libm-tests.c
parenta9944a52c967ce76a5894c30d0274b824df43c7a (diff)
downloadglibc-f962932206eca2cfed0a26e72220ad3465bf9e65.tar.xz
glibc-f962932206eca2cfed0a26e72220ad3465bf9e65.zip
Implement C23 asinpi
C23 adds various <math.h> function families originally defined in TS 18661-4. Add the asinpi functions (asin(x)/pi). Tested for x86_64 and x86, and with build-many-glibcs.py.
Diffstat (limited to 'math/gen-auto-libm-tests.c')
-rw-r--r--math/gen-auto-libm-tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/gen-auto-libm-tests.c b/math/gen-auto-libm-tests.c
index 1d6273642b..4185f46c16 100644
--- a/math/gen-auto-libm-tests.c
+++ b/math/gen-auto-libm-tests.c
@@ -535,6 +535,7 @@ static test_function test_functions[] =
FUNC_mpfr_ff_f ("add", mpfr_add, true),
FUNC_mpfr_f_f ("asin", mpfr_asin, false),
FUNC_mpfr_f_f ("asinh", mpfr_asinh, false),
+ FUNC_mpfr_f_f ("asinpi", mpfr_asinpi, false),
FUNC_mpfr_f_f ("atan", mpfr_atan, false),
FUNC_mpfr_ff_f ("atan2", mpfr_atan2, false),
FUNC_mpfr_f_f ("atanh", mpfr_atanh, false),