Trait core::simd::SimdPartialOrd
source · pub trait SimdPartialOrd: SimdPartialEq {
// Required methods
fn simd_lt(self, other: Self) -> Self::Mask;
fn simd_le(self, other: Self) -> Self::Mask;
fn simd_gt(self, other: Self) -> Self::Mask;
fn simd_ge(self, other: Self) -> Self::Mask;
}
🔬This is a nightly-only experimental API. (
portable_simd
#86656)Expand description
Parallel PartialOrd
.
Required Methods§
sourcefn simd_lt(self, other: Self) -> Self::Mask
fn simd_lt(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (
portable_simd
#86656)测试每个 lane 是否小于 other
中对应的 lane。
sourcefn simd_le(self, other: Self) -> Self::Mask
fn simd_le(self, other: Self) -> Self::Mask
🔬This is a nightly-only experimental API. (
portable_simd
#86656)测试每个 lane 是否小于或等于 other
中对应的 lane。