Repository navigation
Move {f32,f64}::clamp to core. - #79473
Conversation
|
@rfcbot merge |
|
Team member @m-ou-se has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
|
🔔 This is now entering its final comment period, as per the review above. 🔔 |
|
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. The RFC will be merged soon. |
|
@bors r+ |
|
📌 Commit 0523eeb has been approved by |
|
☀️ Test successful - checks-actions |
|
Does this need |
clampwas recently stabilized (tracking issue: #44095). But althoughOrd::clampwas added incore(becauseOrdis incore), the versions for thef32andf64primitives were added instd(together withfloor,sin, etc.), not incore(together withmin,max,from_bits, etc.).This change moves them to
core, such thatclampon floats is available inno_stdprograms as well.