devela::_dep::js_sys::Math

Function atan

Source
pub fn atan(x: f64) -> f64 
Available on crate feature dep_js_sys only.
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