Anonymous user
Real constants and functions: Difference between revisions
→{{header|Rust}}
Line 1,799:
=={{header|Rust}}==
use std::f64::consts::*;
fn main() {
Line 1,805 ⟶ 1,804:
let mut x = E;
// π
x += PI;
// square root
x = x.sqrt();
|