  
  /// The `Div` trait is used to specify the functionality of `/`.
  ///
-@@ -383,7 +371,8 @@
-     )*)
- }
- 
--div_impl_float! { f32 f64 }
-+#[cfg(not(disable_float))]
-+div_impl_float! { f32 f64 }
+@@ -383,6 +389,7 @@
+     )*)
+ }
+ 
++#[cfg(not(disable_float))]
+ div_impl_float! { f32 f64 }
  
  /// The `Rem` trait is used to specify the functionality of `%`.
- ///
-@@ -459,2 +466,3 @@
+@@ -457,6 +464,7 @@
+ }
+ 
  #[cfg(not(stage0))]
 +#[cfg(not(disable_float))]
  rem_impl_float! { f32 f64 }
-@@ -566,7 +534,9 @@
+ 
+ #[stable(feature = "rust1", since = "1.0.0")]
+@@ -566,7 +574,9 @@
  }
  
  // neg_impl_unsigned! { usize u8 u16 u32 u64 }

     fn write_formatted_parts(&mut self, formatted: &flt2dec::Formatted) -> Result {
         fn write_bytes(buf: &mut Write, s: &[u8]) -> Result {
             buf.write_str(unsafe { str::from_utf8_unchecked(s) })
@@ -1391,6 +1057,7 @@ impl<'a, T> Pointer for &'a mut T {
     }
 }
 

 use num::flt2dec;
 use ops::Deref;
 use result;
@@ -1006,6 +1007,7 @@
     /// Takes the formatted parts and applies the padding.
     /// Assumes that the caller already has rendered the parts with required precision,
     /// so that `self.precision` can be ignored.
