From ffe79c446ced76d7c1a77804ff2cc32eccbc7c7e Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 11 Dec 2024 21:51:49 +0000 Subject: Implement C23 atanpi C23 adds various 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. --- math/bits/mathcalls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'math/bits') diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h index 7c6ca03043..90508ca907 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -70,6 +70,8 @@ __MATHCALL_VEC (tan,, (_Mdouble_ __x)); __MATHCALL (acospi,, (_Mdouble_ __x)); /* Arc sine of X, divided by pi. */ __MATHCALL (asinpi,, (_Mdouble_ __x)); +/* Arc tangent of X, divided by pi. */ +__MATHCALL (atanpi,, (_Mdouble_ __x)); /* Cosine of pi * X. */ __MATHCALL (cospi,, (_Mdouble_ __x)); -- cgit v1.2.3