Skip to content

Commit

Permalink
Update crates/core_simd/tests/ops_macros.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
  • Loading branch information
workingjubilee and calebzulawski authored Feb 9, 2022
1 parent b886e7c commit 8250e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/tests/ops_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ macro_rules! impl_signed_tests {
fn rem_min_may_overflow<const LANES: usize>() {
let a = Vector::<LANES>::splat(Scalar::MIN);
let b = Vector::<LANES>::splat(-1);
assert_eq!(a % b, a % (b * b));
assert_eq!(a % b, Vector::<LANES>::splat(0));
}

}
Expand Down

0 comments on commit 8250e2c

Please sign in to comment.