From 7b199d7550fa84ff9f9c975d02280f2e444ed0a3 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Sun, 24 Dec 2023 03:59:01 -0500 Subject: [PATCH] Fix documentation for ATAN2's (y, x) argument order --- man/rgbasm.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/rgbasm.5 b/man/rgbasm.5 index 260ce316..e39452c3 100644 --- a/man/rgbasm.5 +++ b/man/rgbasm.5 @@ -340,7 +340,7 @@ The following functions are designed to operate with fixed-point numbers: .EQ delim $$ .EN -.Bl -column -offset indent "ATAN2(x, y)" +.Bl -column -offset indent "ATAN2(y, x)" .It Sy Name Ta Sy Operation .It Fn DIV x y Ta Fixed-point division $( x \[di] y ) \[mu] ( 2 ^ precision )$ .It Fn MUL x y Ta Fixed-point multiplication $( x \[mu] y ) \[di] ( 2 ^ precision )$ @@ -356,7 +356,7 @@ delim $$ .It Fn ASIN x Ta Inverse sine of $x$ .It Fn ACOS x Ta Inverse cosine of $x$ .It Fn ATAN x Ta Inverse tangent of $x$ -.It Fn ATAN2 x y Ta Angle between $( x , y )$ and $( 1 , 0 )$ +.It Fn ATAN2 y x Ta Angle between $( x , y )$ and $( 1 , 0 )$ .El .EQ delim off