W3cubDocs

/Rust

Constant std::f64::consts::SQRT_2

pub const SQRT_2: f64 = 1.41421356237309504880168872420969808f64; // 1.4142135623730951f64

sqrt(2)

© 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/f64/consts/constant.SQRT_2.html