diff options
Diffstat (limited to 'src/libcore/num/float.rs')
| -rw-r--r-- | src/libcore/num/float.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libcore/num/float.rs b/src/libcore/num/float.rs index e2f3a4cbcdb..88321e6b8bf 100644 --- a/src/libcore/num/float.rs +++ b/src/libcore/num/float.rs @@ -459,9 +459,7 @@ impl Div<float,float> for float { #[inline(always)] fn div(&self, other: &float) -> float { *self / *other } } -#[cfg(stage1,notest)] -#[cfg(stage2,notest)] -#[cfg(stage3,notest)] +#[cfg(not(stage0),notest)] impl Quot<float,float> for float { #[inline(always)] fn quot(&self, other: &float) -> float { *self / *other } @@ -471,9 +469,7 @@ impl Modulo<float,float> for float { #[inline(always)] fn modulo(&self, other: &float) -> float { *self % *other } } -#[cfg(stage1,notest)] -#[cfg(stage2,notest)] -#[cfg(stage3,notest)] +#[cfg(not(stage0),notest)] impl Rem<float,float> for float { #[inline(always)] fn rem(&self, other: &float) -> float { *self % *other } |
