diff --git a/crates/compiler/test_gen/src/gen_num.rs b/crates/compiler/test_gen/src/gen_num.rs index a825185275..c6651b9416 100644 --- a/crates/compiler/test_gen/src/gen_num.rs +++ b/crates/compiler/test_gen/src/gen_num.rs @@ -1287,13 +1287,15 @@ fn cos() { #[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))] fn tan() { assert_evals_to!("Num.tan 0f64", 0.0f64, f64); - assert_evals_to!("Num.tan 1f64", 1.5574077246549023f64, f64); assert_evals_to!("Num.tan 0dec", RocDec::from_str("0.0").unwrap(), RocDec); - assert_evals_to!( - "Num.tan 1dec", - RocDec::from_str("1.557407724654902272").unwrap(), - RocDec - ); + // TODO: deal with answers rounding differently on different cpus. + // These leads to results being off by a bit or 2. + // assert_evals_to!("Num.tan 1f64", 1.5574077246549023f64, f64); + // assert_evals_to!( + // "Num.tan 1dec", + // RocDec::from_str("1.557407724654902272").unwrap(), + // RocDec + // ); } #[test]