W3cubDocs

/Rust

Constant std::f64::consts::FRAC_1_SQRT_2

pub const FRAC_1_SQRT_2: f64 = 0.707106781186547524400844362104849039f64; // 0.70710678118654757f64

1/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.FRAC_1_SQRT_2.html