aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-11-07 14:23:03 +0100
committerFredrik Gustafsson <[email protected]>2013-11-07 14:23:03 +0100
commitebd380903569c2ae254849128542297629946feb (patch)
tree5bb08c91f1050ca1a089cc432fe3244c4819e6bc
parentaecf59396e67662c05b64bae29d4bfdc86b58ae7 (diff)
parent942311c5c19c3689581d4c6c9b1b8049cb94122c (diff)
downloadotp-ebd380903569c2ae254849128542297629946feb.tar.gz
otp-ebd380903569c2ae254849128542297629946feb.tar.bz2
otp-ebd380903569c2ae254849128542297629946feb.zip
Merge branch 'maint'
-rw-r--r--lib/stdlib/src/math.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stdlib/src/math.erl b/lib/stdlib/src/math.erl
index c3fb684ec3..98a70b1644 100644
--- a/lib/stdlib/src/math.erl
+++ b/lib/stdlib/src/math.erl
@@ -51,9 +51,9 @@ asinh(_) ->
atan(_) ->
erlang:nif_error(undef).
--spec atan2(X, Y) -> float() when
- X :: number(),
- Y :: number().
+-spec atan2(Y, X) -> float() when
+ Y :: number(),
+ X :: number().
atan2(_, _) ->
erlang:nif_error(undef).