Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

inverse_ratio

Calculates the inverse of a ratio (1 / ratio).

Returns

Some(1 / ratio) or None if ratio is zero

Fully qualified path: cairo_fp::f128::math::ratio::inverse_ratio

fn inverse_ratio(ratio: Fixed) -> Option<Fixed>