]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/num/f64.rs
Automatic exponential formatting in Debug
[rust.git] / library / core / src / num / f64.rs
index cfcc08b9addeb9b26fa07152161ec8549b744b11..8a8fbae1941c3212634fee9eb629722537c403e8 100644 (file)
@@ -447,7 +447,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) -> f64 {
+    pub(crate) const fn abs_private(self) -> f64 {
         f64::from_bits(self.to_bits() & 0x7fff_ffff_ffff_ffff)
     }