Skip to content

coretests: Expand ieee754 parsing and printing tests to f16#154103

Merged
rust-bors[bot] merged 3 commits intorust-lang:mainfrom
tgross35:float-test-mod
Mar 20, 2026
Merged

coretests: Expand ieee754 parsing and printing tests to f16#154103
rust-bors[bot] merged 3 commits intorust-lang:mainfrom
tgross35:float-test-mod

Conversation

@tgross35
Copy link
Contributor

Use float_test! to cover all types, with a note about f128 missing the traits. Also includes some minor reorganization.

r? @folkertdev

This is just a single file, so move it under `num` which already has
some float-related tests. This also closer mirrors source in `core`.
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Mar 19, 2026
@rust-log-analyzer

This comment has been minimized.

Use `float_test!` to cover all types, with a note about f128 missing the
traits.
@rustbot
Copy link
Collaborator

rustbot commented Mar 19, 2026

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

@tgross35
Copy link
Contributor Author

Note that the individual commits should be reviewed here; git does track the moved file but GH's overall diff shows it as a delete + re-add

Copy link
Contributor

@folkertdev folkertdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nice code quality improvements along with the additional test coverage.

@bors r+

View changes since this review

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 20, 2026

📌 Commit 16f8985 has been approved by folkertdev

It is now in the queue for this repository.

@rust-bors rust-bors bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 20, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Mar 20, 2026
coretests: Expand ieee754 parsing and printing tests to f16

Use `float_test!` to cover all types, with a note about f128 missing the traits. Also includes some minor reorganization.
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Mar 20, 2026
coretests: Expand ieee754 parsing and printing tests to f16

Use `float_test!` to cover all types, with a note about f128 missing the traits. Also includes some minor reorganization.
rust-bors bot pushed a commit that referenced this pull request Mar 20, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #154103 (coretests: Expand ieee754 parsing and printing tests to f16)
 - #152669 (rustc_public: add `vtable_entries()` to `TraitRef`)
 - #153776 (Remove redundant `is_dyn_thread_safe` checks)
 - #154121 (Fix typos and markdown errors)
 - #154126 (refactor(attribute parser): move check_custom_mir to attribute parser)
@rust-bors rust-bors bot merged commit c82d8db into rust-lang:main Mar 20, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 20, 2026
@tgross35 tgross35 deleted the float-test-mod branch March 20, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants