Skip to content

Commit 48e845f

Browse files
authored
Add more_float_constants for f64 FRAC_1_SQRT_2PI
1 parent e86a84a commit 48e845f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/num/f64.rs

+1
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ pub mod consts {
328328
pub const FRAC_1_SQRT_PI: f64 = 0.564189583547756286948079451560772586_f64;
329329

330330
/// 1/sqrt(2π)
331+
#[unstable(feature = "more_float_constants", issue = "103883")]
331332
pub const FRAC_1_SQRT_2PI: f64 = 0.398942280401432677939946059934381868_f64;
332333

333334
/// 2/π

0 commit comments

Comments
 (0)