Function storm::math::sin_deg

source · []
pub fn sin_deg(deg: f32) -> f32
Expand description

Computes the sine of a number. Input in degrees, output in radians.

  • Average error of 0.00060 radians.
  • Largest error of 0.00229 radians.
  • Speedup of 30x over f32.sin();