diff options
| author | Joseph Myers <josmyers@redhat.com> | 2024-12-05 21:42:10 +0000 |
|---|---|---|
| committer | Joseph Myers <josmyers@redhat.com> | 2024-12-05 21:42:10 +0000 |
| commit | f9e90e4b4ce71f88470c8c8b0a16c21088294be4 (patch) | |
| tree | f1480a938f936a29630f67901a86b7e2c750eff1 /math/bits | |
| parent | 062257c5d929e3c9a83a26624a09e57936ac6b5e (diff) | |
| download | glibc-f9e90e4b4ce71f88470c8c8b0a16c21088294be4.tar.xz glibc-f9e90e4b4ce71f88470c8c8b0a16c21088294be4.zip | |
Implement C23 tanpi
C23 adds various <math.h> function families originally defined in TS
18661-4. Add the tanpi functions (tan(pi*x)).
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 de233ebb38..d3520744ba 100644 --- a/math/bits/mathcalls.h +++ b/math/bits/mathcalls.h @@ -70,6 +70,8 @@ __MATHCALL_VEC (tan,, (_Mdouble_ __x)); __MATHCALL (cospi,, (_Mdouble_ __x)); /* Sine of pi * X. */ __MATHCALL (sinpi,, (_Mdouble_ __x)); +/* Tangent of pi * X. */ +__MATHCALL (tanpi,, (_Mdouble_ __x)); #endif /* Hyperbolic functions. */ |
