Floating point imprecision



examples/numbers/floating-point-imprecision/src/main.rs
fn main() {
    let a = 0.1;
    let b = 0.2;
    let c = a + b;
    println!("{c}");
    println!("{}", c == 3.0);
}

0.30000000000000004
false