macro_rules! with_tolerance {
($tolerance:expr, |$t:ident| $body:expr) => { ... };
}Expand description
Runs $body with $t bound to Exactly when the Tolerance $tolerance is 0, and to the tolerance otherwise. Each binding has its own compiled copy of $body. The choice happens once, outside any loop in $body.