Skip to content

Commit

Permalink
document PartialOrd difference to simd_min and simd_max
Browse files Browse the repository at this point in the history
Avoid migration pitfall from packed_simd as described in #402.
  • Loading branch information
KonradHoeffner authored Apr 10, 2024
1 parent 48d411b commit f79ce11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core_simd/src/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ where
}
}

/// Lexicographic order. For the SIMD elementwise minimum and maximum, use simd_min and simd_max instead.
impl<T, const N: usize> PartialOrd for Simd<T, N>
where
LaneCount<N>: SupportedLaneCount,
Expand Down

0 comments on commit f79ce11

Please sign in to comment.