]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/f64.rs
Auto merge of #42430 - nagisa:core-float, r=alexcrichton
[rust.git] / src / libstd / f64.rs
index e9b5e4c88696c45e93aa951067e4cd266ce8e826..e8d25cfbf949a93c9f9ac81216d3ee16133be22f 100644 (file)
@@ -1156,6 +1156,7 @@ fn test_neg_zero() {
         assert_eq!(Fp::Zero, neg_zero.classify());
     }
 
+    #[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630
     #[test]
     fn test_one() {
         let one: f64 = 1.0f64;
@@ -1208,6 +1209,7 @@ fn test_is_finite() {
         assert!((-109.2f64).is_finite());
     }
 
+    #[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630
     #[test]
     fn test_is_normal() {
         let nan: f64 = NAN;
@@ -1225,6 +1227,7 @@ fn test_is_normal() {
         assert!(!1e-308f64.is_normal());
     }
 
+    #[cfg_attr(all(target_arch = "wasm32", target_os = "emscripten"), ignore)] // issue 42630
     #[test]
     fn test_classify() {
         let nan: f64 = NAN;