  
  /// The `Sub` trait is used to specify the functionality of `-`.
  ///
-@@ -265,7 +267,9 @@
+@@ -268,7 +270,9 @@
      )*)
  }
  

 // Common code of floating point LowerExp and UpperExp.
 fn float_to_exponential_common<T>(fmt: &mut Formatter, num: &T, upper: bool) -> Result
     where T: flt2dec::DecodableFloat
@@ -1513,7 +1518,9 @@
         }
     }
 } }

     fn min_pos_norm_value() -> Self { f64::MIN_POSITIVE }
 }
diff -rub libcore_orig/num/mod.rs libcore/num/mod.rs
--- libcore_orig/num/mod.rs	2016-03-16 10:20:01.305627726 +0800
+++ libcore/num/mod.rs	2016-03-16 10:19:17.680819458 +0800
@@ -44,7 +44,9 @@
 mod wrapping;
 
 // All these modules are technically private and only exposed for libcoretest:
+#[cfg(not(disable_float))]
