Cargo fmt

This commit is contained in:
Joshua Hoeflich 2021-08-15 18:14:43 -05:00
parent 1c6ac84f2f
commit 34def25b55
2 changed files with 6 additions and 7 deletions

View File

@ -201,9 +201,12 @@ where
Symbol::NUM_SUB => {
self.build_run_low_level(sym, &LowLevel::NumSub, arguments, layout)
}
Symbol::NUM_ROUND => {
self.build_run_low_level(sym, &LowLevel::NumRound, arguments, layout)
}
Symbol::NUM_ROUND => self.build_run_low_level(
sym,
&LowLevel::NumRound,
arguments,
layout,
),
Symbol::BOOL_EQ => {
self.build_run_low_level(sym, &LowLevel::Eq, arguments, layout)
}

View File

@ -287,7 +287,6 @@ mod dev_num {
assert_evals_to!("Num.abs 5.8", 5.8, f64);
}
#[test]
fn f64_round() {
assert_evals_to!("Num.round 3.6", 4, i64);
@ -313,8 +312,6 @@ mod dev_num {
// );
// }
// #[test]
// fn gen_float_eq() {
// assert_evals_to!(
@ -683,7 +680,6 @@ mod dev_num {
// );
// }
// #[test]
// fn int_to_float() {
// assert_evals_to!("Num.toFloat 0x9", 9.0, f64);