-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for uint_carryless_mul #152080
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(uint_carryless_mul)]This is a tracking issue for functions that return the carryless product (XOR multiplication) of unsigned integers.
carryless_mulreturns the low-order bits of the result, andwidening_carryless_mulreturns the full result in the next wider unsigned integer type.Public API
widening_carryless_mulis not implemented foru128because there is no larger integer type to return.Steps / History
carryless_mul#152132Unresolved Questions
carrying_carryless_mul?: In the ACP, there was a voicing of desire for a function that returned the product as a 2-sized tuple with the same sized integer,(Self, Self).Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩