Skip to content

Remove support for Saturating, Wrapping - #49

Merged
dhardy merged 1 commit into
masterfrom
push-rvnwxwwrrurw
Jul 16, 2026
Merged

Remove support for Saturating, Wrapping#49
dhardy merged 1 commit into
masterfrom
push-rvnwxwwrrurw

Conversation

@dhardy

@dhardy dhardy commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Motivation: one might logically expect casts on such types to be saturating / wrapping. These impls (added in #38) are not.

Note that such casts would contradict the "value-preserving" semantic expected by Conv (inherited from From), thus this is debatable. This may be why From does not offer conversions on these wrapper types.

@dhardy dhardy mentioned this pull request Jul 16, 2026
@dhardy
dhardy merged commit 8905b31 into master Jul 16, 2026
4 checks passed
@dhardy
dhardy deleted the push-rvnwxwwrrurw branch July 16, 2026 11:18
@dhardy dhardy mentioned this pull request Jul 21, 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