Computes the arc tangent given y and x.

assert atan2(-0.0, 1.0) == -0.0
assert atan2(0.0, 1.0) == 0.0

Property definitions

core :: math $ Sys :: atan2
# Computes the arc tangent given `y` and `x`.
#
#     assert atan2(-0.0, 1.0) == -0.0
#     assert atan2(0.0, 1.0) == 0.0
fun atan2(y: Float, x: Float): Float `{ return atan2(y, x); `}
lib/core/math.nit:548,1--552,62