Skip to main content

sin

Function sin 

Source
pub fn sin<F>(x: F) -> F
where F: Float,
Expand description

sin x. sin(±0) is ±0, and sin(±∞) and sin(NaN) are NaN. Beyond a magnitude of 2^23 at f64 or 2^20 at f32, x takes a slower, exact reduction.