@@ -140,20 +140,20 @@ macro_rules! impl_binary_checked_op_test {
140
140
macro_rules! impl_common_integer_tests {
141
141
{ $vector: ident, $scalar: ident } => {
142
142
test_helpers:: test_lanes! {
143
- fn wrapping_sum <const LANES : usize >( ) {
143
+ fn horizontal_wrapping_sum <const LANES : usize >( ) {
144
144
test_helpers:: test_1( & |x| {
145
145
test_helpers:: prop_assert_biteq! (
146
- $vector:: <LANES >:: from_array( x) . wrapping_sum ( ) ,
146
+ $vector:: <LANES >:: from_array( x) . horizontal_wrapping_sum ( ) ,
147
147
x. iter( ) . copied( ) . fold( 0 as $scalar, $scalar:: wrapping_add) ,
148
148
) ;
149
149
Ok ( ( ) )
150
150
} ) ;
151
151
}
152
152
153
- fn wrapping_product <const LANES : usize >( ) {
153
+ fn horizontal_wrapping_product <const LANES : usize >( ) {
154
154
test_helpers:: test_1( & |x| {
155
155
test_helpers:: prop_assert_biteq! (
156
- $vector:: <LANES >:: from_array( x) . wrapping_product ( ) ,
156
+ $vector:: <LANES >:: from_array( x) . horizontal_wrapping_product ( ) ,
157
157
x. iter( ) . copied( ) . fold( 1 as $scalar, $scalar:: wrapping_mul) ,
158
158
) ;
159
159
Ok ( ( ) )
@@ -479,20 +479,20 @@ macro_rules! impl_float_tests {
479
479
) . unwrap( ) ;
480
480
}
481
481
482
- fn sum <const LANES : usize >( ) {
482
+ fn horizontal_sum <const LANES : usize >( ) {
483
483
test_helpers:: test_1( & |x| {
484
484
test_helpers:: prop_assert_biteq! (
485
- Vector :: <LANES >:: from_array( x) . sum ( ) ,
485
+ Vector :: <LANES >:: from_array( x) . horizontal_sum ( ) ,
486
486
x. iter( ) . sum( ) ,
487
487
) ;
488
488
Ok ( ( ) )
489
489
} ) ;
490
490
}
491
491
492
- fn product <const LANES : usize >( ) {
492
+ fn horizontal_product <const LANES : usize >( ) {
493
493
test_helpers:: test_1( & |x| {
494
494
test_helpers:: prop_assert_biteq! (
495
- Vector :: <LANES >:: from_array( x) . product ( ) ,
495
+ Vector :: <LANES >:: from_array( x) . horizontal_product ( ) ,
496
496
x. iter( ) . product( ) ,
497
497
) ;
498
498
Ok ( ( ) )
0 commit comments