From f9e90e4b4ce71f88470c8c8b0a16c21088294be4 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 5 Dec 2024 21:42:10 +0000 Subject: Implement C23 tanpi C23 adds various 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. --- 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 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. */ -- cgit v1.2.3