std::intrinsics::simd

Function simd_lt

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

Tests if x is less than y, elementwise.

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

U must be a vector of integers with the same number of elements and element size as T.

Returns 0 for false and !0 for true.