Function is_close

Source
pub fn is_close<F: Field>(a: F, b: F, epsilon: F) -> bool
Expand description

Checks if two floating point numbers are essentially equal. See https://floating-point-gui.de/errors/comparison/.