std::intrinsics::simd

Function simd_gt

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

Tests if x is greater 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.