]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/num/f32.rs
Automatic exponential formatting in Debug
[rust.git] / library / core / src / num / f32.rs
index c47a2e8b05c4bed0b75c2ffca61ba342d8073feb..4104d48b4a2db721620217f587db8e2901c4de0d 100644 (file)
@@ -448,7 +448,7 @@ pub const fn is_nan(self) -> bool {
     // private use internally.
     #[inline]
     #[rustc_const_unstable(feature = "const_float_classify", issue = "72505")]
-    const fn abs_private(self) -> f32 {
+    pub(crate) const fn abs_private(self) -> f32 {
         f32::from_bits(self.to_bits() & 0x7fff_ffff)
     }