about summary refs log tree commit diff
path: root/src/libcore/float.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/float.rs')
-rw-r--r--src/libcore/float.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/float.rs b/src/libcore/float.rs
index a69260abaab..b570f1a1495 100644
--- a/src/libcore/float.rs
+++ b/src/libcore/float.rs
@@ -416,6 +416,7 @@ pure fn tan(x: float) -> float { f64::tan(x as f64) as float }
 
 impl float: Eq {
     pure fn eq(&&other: float) -> bool { self == other }
+    pure fn ne(&&other: float) -> bool { self != other }
 }
 
 impl float: Ord {