  #[path = "num/f64.rs"]   pub mod f64;
  
  #[macro_use]
-@@ -149,6 +150,7 @@
- pub mod option;
- pub mod raw;
+@@ -160,2 +150,3 @@
  #[cfg(not(stage0))]
 +#[cfg(not(disable_float))]
  pub mod simd;
- pub mod slice;
- pub mod str;
 diff -ru libcore/num/flt2dec/decoder.rs libcore_patched/num/flt2dec/decoder.rs
 --- libcore/num/flt2dec/decoder.rs	2015-07-02 13:02:27.903621378 +0800
 +++ libcore_patched/num/flt2dec/decoder.rs	2015-07-02 13:02:04.784163432 +0800

 // 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
@@ -1463,7 +1136,9 @@ macro_rules! floating { ($ty:ident) => {
         }
     }
 } }

 
 /// The `Rem` trait is used to specify the functionality of `%`.
 ///
@@ -459,2 +466,3 @@
 #[cfg(not(stage0))]
+#[cfg(not(disable_float))]
 rem_impl_float! { f32 f64 }
@@ -566,7 +534,9 @@
 }
 
 // neg_impl_unsigned! { usize u8 u16 u32 u64 }
