-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Right now, we have most of the integer type interconversions implemented, but we're missing some falliable NonZero conversions. Namely these:
iN
->NonZeroIM
(whereN
!=M
)uN
->NonZeroIM
(whereN
!=M
)iN
->NonZeroUM
(whereN
!=M
)uN
->NonZeroUM
(whereN
!=M
)NonZeroIN
->iM
(whereN
!=M
)NonZeroIN
->uM
(whereN
!=M
)NonZeroUN
->iM
(whereN
!=M
)NonZeroUN
->uM
(whereN
!=M
)
Right now, all of the integer <-> non-zero integer conversions only operate on types of the same size, rather than all the different sizes that the usual conversions allow.
Not sure if these sorts of conversions would be accepted, but my guess is that closing the transitive gap would be a good idea.
Metadata
Metadata
Assignees
Labels
C-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.