simd_gt in core::intrinsics::simd - Rust
Description: Tests if `x` is greater than `y`, elementwise.

# Function core::intrinsics::simd::simd_gt

source ·

    pub unsafe extern "platform-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.