fast_math

Function atan_raw

Source
pub fn atan_raw(x: f32) -> f32
Expand description

Compute a fast approximation of the inverse tangent for |x| < 1.

This will return unspecified nonsense if x is doesn’t not satisfy those constraints. Use atan2 if correct handling is required (at the expense of some speed).