]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/num/f32.rs
Add #[rustc_no_mir] to make tests pass with -Z orbit.
[rust.git] / src / libstd / num / f32.rs
index 7f57d6dc650bab145670458d28143328787cf85e..e78d46b22e9409ac2332d9281745544705bfd022 100644 (file)
@@ -262,7 +262,7 @@ pub fn classify(self) -> FpCategory { num::Float::classify(self) }
     ///
     /// assert!(abs_difference <= f32::EPSILON);
     /// ```
-    /// [floating-point]: ../../../../../reference.html#machine-types
+    /// [floating-point]: ../reference.html#machine-types
     #[unstable(feature = "float_extras", reason = "signature is undecided",
                issue = "27752")]
     #[inline]
@@ -1371,6 +1371,7 @@ fn test_classify() {
     }
 
     #[test]
+    #[rustc_no_mir] // FIXME #27840 MIR NAN ends up negative.
     fn test_integer_decode() {
         assert_eq!(3.14159265359f32.integer_decode(), (13176795, -22, 1));
         assert_eq!((-8573.5918555f32).integer_decode(), (8779358, -10, -1));