summaryrefslogtreecommitdiffhomepage
path: root/awk.html.markdown
diff options
context:
space:
mode:
authorAleksandr Mazurik <almaz@yandex-team.ru>2018-07-28 21:48:25 +0300
committerAleksandr Mazurik <almaz@yandex-team.ru>2018-07-28 21:48:25 +0300
commitd375092374d0a71f95e3a418c08236a68426dad0 (patch)
tree79990fc9a8a46c5eca9180401b84f28a84b07fb5 /awk.html.markdown
parent0d211d341913305bd1d97e5d097898eb7faa1354 (diff)
[awk/en] Fix atan2 args order
Diffstat (limited to 'awk.html.markdown')
-rw-r--r--awk.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/awk.html.markdown b/awk.html.markdown
index e3ea6318..de26c0a1 100644
--- a/awk.html.markdown
+++ b/awk.html.markdown
@@ -161,7 +161,7 @@ function arithmetic_functions(a, b, c, d) {
# Most AWK implementations have some standard trig functions
localvar = sin(a)
localvar = cos(a)
- localvar = atan2(a, b) # arc tangent of b / a
+ localvar = atan2(b, a) # arc tangent of b / a
# And logarithmic stuff
localvar = exp(a)