js_sys::Math

Function atan

Source
pub fn atan(x: f64) -> f64
Expand description

The Math.atan() function returns the arctangent (in radians) of a number, that is Math.atan(x) = arctan(x) = the unique y ∊ [-π2;π2]such that tan(y) = x