Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

sin

Calculates the sine of an angle.

Uses Taylor series for high precision.

Arguments

  • a - Angle in radians

Returns

Sine value in range -1, 1

Fully qualified path: cairo_fp::f128::math::trig::sin

fn sin(a: Fixed) -> Fixed