@@ -140,20 +140,20 @@ macro_rules! impl_binary_checked_op_test {
140140macro_rules! impl_common_integer_tests {
141141 { $vector: ident, $scalar: ident } => {
142142 test_helpers:: test_lanes! {
143- fn wrapping_sum <const LANES : usize >( ) {
143+ fn horizontal_wrapping_sum <const LANES : usize >( ) {
144144 test_helpers:: test_1( & |x| {
145145 test_helpers:: prop_assert_biteq! (
146- $vector:: <LANES >:: from_array( x) . wrapping_sum ( ) ,
146+ $vector:: <LANES >:: from_array( x) . horizontal_wrapping_sum ( ) ,
147147 x. iter( ) . copied( ) . fold( 0 as $scalar, $scalar:: wrapping_add) ,
148148 ) ;
149149 Ok ( ( ) )
150150 } ) ;
151151 }
152152
153- fn wrapping_product <const LANES : usize >( ) {
153+ fn horizontal_wrapping_product <const LANES : usize >( ) {
154154 test_helpers:: test_1( & |x| {
155155 test_helpers:: prop_assert_biteq! (
156- $vector:: <LANES >:: from_array( x) . wrapping_product ( ) ,
156+ $vector:: <LANES >:: from_array( x) . horizontal_wrapping_product ( ) ,
157157 x. iter( ) . copied( ) . fold( 1 as $scalar, $scalar:: wrapping_mul) ,
158158 ) ;
159159 Ok ( ( ) )
@@ -479,20 +479,20 @@ macro_rules! impl_float_tests {
479479 ) . unwrap( ) ;
480480 }
481481
482- fn sum <const LANES : usize >( ) {
482+ fn horizontal_sum <const LANES : usize >( ) {
483483 test_helpers:: test_1( & |x| {
484484 test_helpers:: prop_assert_biteq! (
485- Vector :: <LANES >:: from_array( x) . sum ( ) ,
485+ Vector :: <LANES >:: from_array( x) . horizontal_sum ( ) ,
486486 x. iter( ) . sum( ) ,
487487 ) ;
488488 Ok ( ( ) )
489489 } ) ;
490490 }
491491
492- fn product <const LANES : usize >( ) {
492+ fn horizontal_product <const LANES : usize >( ) {
493493 test_helpers:: test_1( & |x| {
494494 test_helpers:: prop_assert_biteq! (
495- Vector :: <LANES >:: from_array( x) . product ( ) ,
495+ Vector :: <LANES >:: from_array( x) . horizontal_product ( ) ,
496496 x. iter( ) . product( ) ,
497497 ) ;
498498 Ok ( ( ) )
0 commit comments