Skip to main content

atan2

Function atan2 

Source
pub fn atan2(y: f64, x: f64) -> f64
Expand description

Four-quadrant arctangent of y / x, in [-π, π].

Mathematical argument order atan2(y, x): for a course from north/east components, pass east first.