Skip to main content

echo_matches

Function echo_matches 

Source
pub fn echo_matches(cached: f64, stored: f64) -> bool
Expand description

Whether a cached echo matches the value a write expects the vehicle to hold. The echo travelled as a 32-bit float, so equality is judged at that precision rather than at f64’s.