summaryrefslogtreecommitdiffhomepage
path: root/awk.html.markdown
diff options
context:
space:
mode:
authorroot <root@learnxinyminutes.com>2018-08-02 04:08:30 +0000
committerroot <root@learnxinyminutes.com>2018-08-02 04:08:30 +0000
commit6f2003a31f900c1ce3ff1dde64b17c7ac02350cc (patch)
tree2d7f1f3c82fb125d11b7a59062fd52be6dacad17 /awk.html.markdown
parent40de8820dbf8a4695d31384aca69c85a4e34d066 (diff)
parent8a6a3db546868f8c159e61eec6f89b8a83efd25a (diff)
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
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)