W3cubDocs

/Rust

Function simd_le

pub const unsafe fn simd_le<T, U>(x: T, y: T) -> U
🔬This is a nightly-only experimental API. (core_intrinsics)

Tests if x is less than or equal to y, elementwise.

T must be a vector of integers or floats.

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.

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/intrinsics/simd/fn.simd_le.html