aboutsummaryrefslogtreecommitdiff
path: root/math/tgmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/tgmath.h')
-rw-r--r--math/tgmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/tgmath.h b/math/tgmath.h
index 9260d07..0eafa72 100644
--- a/math/tgmath.h
+++ b/math/tgmath.h
@@ -824,6 +824,8 @@
# define asinpi(Val) __TGMATH_UNARY_REAL_ONLY (Val, asinpi)
/* Arc tangent of X, divided by pi. */
# define atanpi(Val) __TGMATH_UNARY_REAL_ONLY (Val, atanpi)
+/* Arc tangent of Y/X, divided by pi. */
+#define atan2pi(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, atan2pi)
/* Cosine of pi * X. */
# define cospi(Val) __TGMATH_UNARY_REAL_ONLY (Val, cospi)