diff --git a/core/math/math.odin b/core/math/math.odin index e4e43c86a..027a9c8cd 100644 --- a/core/math/math.odin +++ b/core/math/math.odin @@ -1386,7 +1386,7 @@ atan2 :: proc{ } atan :: proc "contextless" (x: $T) -> T where intrinsics.type_is_float(T) { - return atan2(1, x) + return atan2(x, 1) }