diff options
| author | Joseph Myers <josmyers@redhat.com> | 2024-12-11 21:51:49 +0000 |
|---|---|---|
| committer | Joseph Myers <josmyers@redhat.com> | 2024-12-11 21:51:49 +0000 |
| commit | ffe79c446ced76d7c1a77804ff2cc32eccbc7c7e (patch) | |
| tree | fa436fea1f0eebeb843ae0c16df84f120f859eb3 /math/bits | |
| parent | aec85b2557cdb2cc1fc726a50c33848826f00f4d (diff) | |
| download | glibc-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/bits')
| -rw-r--r-- | math/bits/mathcalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |
