Skip to content

Move min/max and min_precise/max_precise to SimdBase - #313

Open
Shnatsel wants to merge 1 commit into
linebender:mainfrom
Shnatsel:generic-min-max
Open

Move min/max and min_precise/max_precise to SimdBase#313
Shnatsel wants to merge 1 commit into
linebender:mainfrom
Shnatsel:generic-min-max

Conversation

@Shnatsel

@Shnatsel Shnatsel commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This allows abstracting over integer and floating-point vectors.

I didn't include this into #308 because there's an API design choice here: do we expose *_precise for integers to allow abstracting over integers and floats, or keep them separate (and not merge this PR)?

This PR makes the behavior consistent with #300 which exposes *_saturating for both integers and floats to allow abstracting over them.

@Shnatsel Shnatsel changed the title Initial pass at moving min/max and min_precise/max_precise to SimdBase Move min/max and min_precise/max_precise to SimdBase Aug 6, 2026
@Shnatsel Shnatsel mentioned this pull request Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant