spinoso_math

Function atan

source
pub fn atan(value: f64) -> f64
Expand description

Computes the arctangent of the given value. Returns results in the range (-PI/2..=PI/2).

Domain: (-INFINITY, INFINITY)

Codomain: (-PI/2, PI/2)

ยงExamples

use spinoso_math as math;
assert_eq!(math::atan(0.0), 0.0);