mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			244 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			244 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // run-pass
 | |
| pub fn main() {
 | |
|     let pi = 3.1415927f64;
 | |
|     println!("{}", -pi * (pi + 2.0 / pi) - pi * 5.0);
 | |
|     if pi == 5.0 || pi < 10.0 || pi <= 2.0 || pi != 22.0 / 7.0 || pi >= 10.0
 | |
|            || pi > 1.0 {
 | |
|         println!("yes");
 | |
|     }
 | |
| }
 | 
