Implement clamp_magnitude method for primitive floats & signed integers#148690
Merged
bors merged 1 commit intorust-lang:mainfrom Dec 1, 2025
Merged
Implement clamp_magnitude method for primitive floats & signed integers#148690bors merged 1 commit intorust-lang:mainfrom
clamp_magnitude method for primitive floats & signed integers#148690bors merged 1 commit intorust-lang:mainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
f2be097 to
ac1847f
Compare
Urgau
reviewed
Nov 8, 2025
Urgau
reviewed
Nov 8, 2025
ac1847f to
2912278
Compare
Collaborator
14 tasks
Zalathar
reviewed
Nov 9, 2025
2912278 to
d7d5999
Compare
Contributor
Author
|
@rustbot label -T-compiler |
joboet
reviewed
Nov 13, 2025
This comment has been minimized.
This comment has been minimized.
Contributor
Author
|
Oh sorry, I'm currently without the ability to test a build locally for the moment so am using the CI to do so, I'll try and fix the issues the new commit introduced now. |
This comment has been minimized.
This comment has been minimized.
Member
No worries! |
joboet
approved these changes
Nov 30, 2025
Added feature gate, documentation and tests also.
c59bef7 to
ae7fa32
Compare
Contributor
Author
|
Thanks so much for your review! I've squashed now. |
Member
|
👍 |
Collaborator
bors
added a commit
that referenced
this pull request
Dec 1, 2025
Rollup of 9 pull requests Successful merges: - #148690 (Implement `clamp_magnitude` method for primitive floats & signed integers) - #149102 (stabilize maybe_uninit_slice) - #149269 (cmse: do not calculate the layout of a type with infer types) - #149299 (Fudge infer vars in the cause code of `Obligation` intentionally) - #149344 (Don't suggest unwrap for Result in const) - #149358 (fix(parse): Limit frontmatter fences to 255 dashes ) - #149445 (make assoc fn inherit const stability from inherent `const impl` blocks) - #149479 (Fix indent in E0591.md) - #149496 (Fix #148889: Add label rib when visiting delegation body) r? `@ghost` `@rustbot` modify labels: rollup
rust-timer
added a commit
that referenced
this pull request
Dec 1, 2025
Rollup merge of #148690 - IntegralPilot:clamp-mag, r=joboet Implement `clamp_magnitude` method for primitive floats & signed integers Tracking issue #148519 ACP rust-lang/libs-team#686
github-actions bot
pushed a commit
to rust-lang/rust-analyzer
that referenced
this pull request
Dec 15, 2025
Rollup of 9 pull requests Successful merges: - rust-lang/rust#148690 (Implement `clamp_magnitude` method for primitive floats & signed integers) - rust-lang/rust#149102 (stabilize maybe_uninit_slice) - rust-lang/rust#149269 (cmse: do not calculate the layout of a type with infer types) - rust-lang/rust#149299 (Fudge infer vars in the cause code of `Obligation` intentionally) - rust-lang/rust#149344 (Don't suggest unwrap for Result in const) - rust-lang/rust#149358 (fix(parse): Limit frontmatter fences to 255 dashes ) - rust-lang/rust#149445 (make assoc fn inherit const stability from inherent `const impl` blocks) - rust-lang/rust#149479 (Fix indent in E0591.md) - rust-lang/rust#149496 (Fix rust-lang/rust#148889: Add label rib when visiting delegation body) r? `@ghost` `@rustbot` modify labels: rollup
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Jan 20, 2026
Implement `clamp_magnitude` method for primitive floats & signed integers Tracking issue rust-lang#148519 ACP rust-lang/libs-team#686
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracking issue #148519
ACP rust-lang/libs-team#686