fn main() { println!("Floating point numbers"); { let mut d:f64 = 1.0f64; while d < 2.01f64 { println!("{}", d); d += 0.1f64; } } }