W3cubDocs

/Rust

Constant std::f32::consts::PI

pub const PI: f32 = 3.14159265358979323846264338327950288f32; // 3.14159274f32

Archimedes' constant (π)

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/f32/consts/constant.PI.html