Skip to content

Commit

Permalink
Merge pull request #413 from KonradHoeffner/patch-1
Browse files Browse the repository at this point in the history
document PartialOrd difference to simd_min and simd_max
  • Loading branch information
calebzulawski authored Apr 10, 2024
2 parents 48d411b + ef5f073 commit 979a495
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 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 All @@ -944,6 +945,7 @@ where
{
}

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

0 comments on commit 979a495

Please sign in to comment.