10 lines
166 B
Rust
10 lines
166 B
Rust
|
|
|
|
fn main() {
|
|
let f = 4.999999999999;
|
|
assert (f > 4.90);
|
|
assert (f < 5.0);
|
|
let g = 4.90000000001e-10;
|
|
assert (g > 5e-11);
|
|
assert (g < 5e-9);
|
|
} |