We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
f16::midpoint
1 parent a64eea1 commit c3bd5cdCopy full SHA for c3bd5cd
core/src/num/f16.rs
@@ -803,7 +803,7 @@ impl f16 {
803
/// ```
804
#[inline]
805
#[unstable(feature = "f16", issue = "116909")]
806
- #[rustc_const_unstable(feature = "f128", issue = "116909")]
+ #[rustc_const_unstable(feature = "f16", issue = "116909")]
807
pub const fn midpoint(self, other: f16) -> f16 {
808
const LO: f16 = f16::MIN_POSITIVE * 2.;
809
const HI: f16 = f16::MAX / 2.;
0 commit comments