Function cairo_vm::math_utils::safe_div_usize

source ยท
pub fn safe_div_usize(x: usize, y: usize) -> Result<usize, MathError>
Expand description

Performs integer division between x and y; fails if x is not divisible by y.