Function std::intrinsics::simd::simd_reduce_add_ordered

source ·
pub unsafe extern "rust-intrinsic" fn simd_reduce_add_ordered<T, U>(
    x: T,
    y: U
) -> U
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Add elements within a vector from left to right.

T must be a vector of integer or floating-point primitive types.

U must be the element type of T.

Starting with the value y, add the elements of x and accumulate.