-
Notifications
You must be signed in to change notification settings - Fork 13.9k
dedup recip, powi, to_degrees, and to_radians float tests #145468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b720664 to
e5fed16
Compare
e5fed16 to
43b54cd
Compare
|
update: simplify and minimize thresholds for assert_approx_ex comparisons. |
This comment has been minimized.
This comment has been minimized.
43b54cd to
75c9ee4
Compare
|
update:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small request then LGTM
I left the additional asserts on {f16, f128}::MAX.recip() in a new
test_max_recip tests.
75c9ee4 to
ddb15c2
Compare
|
@rustbot ready |
|
Thank you! @bors r+ rollup |
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`
|
Makes sense, let's double check. r=me after a pass |
This comment has been minimized.
This comment has been minimized.
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.
|
💔 Test for eee819c failed: CI. Failed jobs:
|
8082354 to
9028efc
Compare
|
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. |
|
@bors2 try jobs=x86_64-gnu-aux |
This comment has been minimized.
This comment has been minimized.
dedup recip, powi, to_degrees, and to_radians float tests try-job: x86_64-gnu-aux
|
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.
dedup recip, powi, to_degrees, and to_radians float tests try-job: x86_64-gnu-aux
|
@bors r+ |
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
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`
…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`
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
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