Function spinoso_math::atan[][src]

#[must_use]pub fn atan(value: f64) -> f64

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);