Function rustitude_core::utils::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/.