W3cubDocs

/Rust

Constant std::f32::consts::FRAC_1_SQRT_2

pub const FRAC_1_SQRT_2: f32 = 0.707106781186547524400844362104849039f32; // 0.707106769f32

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/f32/consts/constant.FRAC_1_SQRT_2.html