  #[stable(feature = "rust1", since = "1.0.0")]
  impl Rem for f32 {
      type Output = f32;
-@@ -440,6 +449,7 @@
+@@ -440,6 +448,7 @@
      }
  }
  

 
 /// The `Div` trait is used to specify the functionality of `/`.
 ///
@@ -365,7 +371,9 @@
     )*)
 }
 
-div_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 f32 f64 }
+div_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 }
+#[cfg(not(disable_float))]
+div_impl! { f32 f64 }
 
 /// The `Rem` trait is used to specify the functionality of `%`.
 ///
@@ -421,6 +429,7 @@
 
 rem_impl! { usize u8 u16 u32 u64 isize i8 i16 i32 i64 }
 

 #[stable(feature = "rust1", since = "1.0.0")]
 impl Rem for f64 {
     type Output = f64;
@@ -451,7 +460,9 @@
     }
 }
 
