Calculate pi
n main() { println!("{}", 3.1415926535897932384626433832795); } The output is 3.1415926535897932384626433832795. The reason is that the compiler is able to infer the type of the literal from the context. In this case, the context is the println! macro