dedup recip, powi, to_degrees, and to_radians float tests#145468
Merged
bors merged 4 commits intorust-lang:masterfrom Sep 1, 2025
Merged
dedup recip, powi, to_degrees, and to_radians float tests#145468bors merged 4 commits intorust-lang:masterfrom
bors merged 4 commits intorust-lang:masterfrom
Conversation
b720664 to
e5fed16
Compare
tgross35
requested changes
Aug 19, 2025
e5fed16 to
43b54cd
Compare
Member
Author
|
update: simplify and minimize thresholds for assert_approx_ex comparisons. |
This comment has been minimized.
This comment has been minimized.
43b54cd to
75c9ee4
Compare
Member
Author
|
update:
|
tgross35
requested changes
Aug 28, 2025
I left the additional asserts on {f16, f128}::MAX.recip() in a new
test_max_recip tests.
75c9ee4 to
ddb15c2
Compare
Member
Author
|
@rustbot ready |
tgross35
approved these changes
Aug 30, 2025
Contributor
|
Thank you! @bors r+ rollup |
Collaborator
bors
added a commit
that referenced
this pull request
Aug 30, 2025
dedup recip, powi, to_degrees, and to_radians float tests Deduplicates recip, powi, to_degrees, and to_radians float tests. I had to fiddle and slightly increase the tolerances for a few comparisons, so maybe not all of the tests are worth deduplicating. Part of #141726. Best reviewed commit-by-commit. r? `@tgross35`
Collaborator
This comment has been minimized.
This comment has been minimized.
rust-bors bot
added a commit
that referenced
this pull request
Aug 31, 2025
dedup recip, powi, to_degrees, and to_radians float tests try-job: x86_64-gnu-aux
This comment has been minimized.
This comment has been minimized.
Contributor
|
💔 Test for eee819c failed: CI. Failed jobs:
|
8082354 to
9028efc
Compare
Member
Author
|
I also missed the rust/library/coretests/tests/floats/f32.rs Lines 12 to 15 in 564ee21 in @tgross35 Could you re-run the try job? I don't have the privileges. |
Contributor
|
@bors2 try jobs=x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
rust-bors bot
added a commit
that referenced
this pull request
Aug 31, 2025
dedup recip, powi, to_degrees, and to_radians float tests try-job: x86_64-gnu-aux
Contributor
Contributor
|
Going to run once more because I think the earlier failures came from Miri's randomness |
This comment has been minimized.
This comment has been minimized.
rust-bors bot
added a commit
that referenced
this pull request
Aug 31, 2025
dedup recip, powi, to_degrees, and to_radians float tests try-job: x86_64-gnu-aux
Contributor
Contributor
|
@bors r+ |
Collaborator
bors
added a commit
that referenced
this pull request
Sep 1, 2025
Rollup of 5 pull requests Successful merges: - #145468 (dedup recip, powi, to_degrees, and to_radians float tests) - #145643 (coverage: Build an "expansion tree" and use it to unexpand raw spans) - #145754 (fix(lexer): Don't require frontmatters to be escaped with indented fences) - #146060 (fixup nix dev shell again) - #146068 (compiletest: Capture panic messages via a custom panic hook) r? `@ghost` `@rustbot` modify labels: rollup
rust-timer
added a commit
that referenced
this pull request
Sep 1, 2025
Rollup merge of #145468 - karolzwolak:float-tests-dedup, r=tgross35 dedup recip, powi, to_degrees, and to_radians float tests Deduplicates recip, powi, to_degrees, and to_radians float tests. I had to fiddle and slightly increase the tolerances for a few comparisons, so maybe not all of the tests are worth deduplicating. Part of #141726. Best reviewed commit-by-commit. r? `@tgross35`
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Sep 9, 2025
…gross35 dedup recip, powi, to_degrees, and to_radians float tests Deduplicates recip, powi, to_degrees, and to_radians float tests. I had to fiddle and slightly increase the tolerances for a few comparisons, so maybe not all of the tests are worth deduplicating. Part of rust-lang#141726. Best reviewed commit-by-commit. r? `@tgross35`
github-actions bot
pushed a commit
to model-checking/verify-rust-std
that referenced
this pull request
Sep 9, 2025
Rollup of 5 pull requests Successful merges: - rust-lang#145468 (dedup recip, powi, to_degrees, and to_radians float tests) - rust-lang#145643 (coverage: Build an "expansion tree" and use it to unexpand raw spans) - rust-lang#145754 (fix(lexer): Don't require frontmatters to be escaped with indented fences) - rust-lang#146060 (fixup nix dev shell again) - rust-lang#146068 (compiletest: Capture panic messages via a custom panic hook) r? `@ghost` `@rustbot` modify labels: rollup
Kobzol
pushed a commit
to Kobzol/rustc_codegen_cranelift
that referenced
this pull request
Dec 29, 2025
Rollup of 5 pull requests Successful merges: - rust-lang/rust#145468 (dedup recip, powi, to_degrees, and to_radians float tests) - rust-lang/rust#145643 (coverage: Build an "expansion tree" and use it to unexpand raw spans) - rust-lang/rust#145754 (fix(lexer): Don't require frontmatters to be escaped with indented fences) - rust-lang/rust#146060 (fixup nix dev shell again) - rust-lang/rust#146068 (compiletest: Capture panic messages via a custom panic hook) r? `@ghost` `@rustbot` modify labels: rollup
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.
Deduplicates recip, powi, to_degrees, and to_radians float tests.
I had to fiddle and slightly increase the tolerances for a few comparisons, so maybe not all of the tests are worth deduplicating.
Part of #141726.
Best reviewed commit-by-commit.
r? @tgross35