approx_equal
Checks if two values are approximately equal within a tolerance.
Fully qualified path: cairo_fp::f64::math::rounding::approx_equal
fn approx_equal(a: Fixed, b: Fixed, tolerance: Fixed) -> bool
Press ← or → to navigate between chapters
Press ? to show this help
Press Esc to hide this help
Checks if two values are approximately equal within a tolerance.
Fully qualified path: cairo_fp::f64::math::rounding::approx_equal
fn approx_equal(a: Fixed, b: Fixed, tolerance: Fixed) -> bool