Skip to content

Commit 93e0e80

Browse files
authored
Add f16 stability attribute to FRAC_1_SQRT_2PI
1 parent f5a24b2 commit 93e0e80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/num/f16.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pub mod consts {
6868
pub const FRAC_1_SQRT_PI: f16 = 0.564189583547756286948079451560772586_f16;
6969

7070
/// 1/sqrt(2π)
71+
#[unstable(feature = "f16", issue = "116909")]
7172
pub const FRAC_1_SQRT_2PI: f16 = 0.398942280401432677939946059934381868_f16;
7273

7374
/// 2/π

0 commit comments

Comments
 (0)