Skip to main content

simd_reduce_any

Function simd_reduce_any 

Source
pub const unsafe fn simd_reduce_any<T>(x: T) -> bool
🔬This is a nightly-only experimental API. (core_intrinsics)
This item is validated for IEC 61508 (SIL 2) and ISO 26262 (ASIL B).
Expand description

Checks if any mask value is true.

T must be a vector of integer primitive types.

§Safety

x must contain only 0 or !0.