diff options
| author | Joseph Myers <josmyers@redhat.com> | 2024-12-10 20:42:20 +0000 |
|---|---|---|
| committer | Joseph Myers <josmyers@redhat.com> | 2024-12-10 20:42:20 +0000 |
| commit | f962932206eca2cfed0a26e72220ad3465bf9e65 (patch) | |
| tree | 33f72059fe06461b8da5f234a70f8352822a4405 /math/bits | |
| parent | a9944a52c967ce76a5894c30d0274b824df43c7a (diff) | |
| download | glibc-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/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 f3e609e9f4..7c6ca03043 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -68,6 +68,8 @@ __MATHCALL_VEC (tan,, (_Mdouble_ __x)); #if __GLIBC_USE (IEC_60559_FUNCS_EXT_C23) /* Arc cosine of X, divided by pi. */ __MATHCALL (acospi,, (_Mdouble_ __x)); +/* Arc sine of X, divided by pi. */ +__MATHCALL (asinpi,, (_Mdouble_ __x)); /* Cosine of pi * X. */ __MATHCALL (cospi,, (_Mdouble_ __x)); |
