Skip to content

Conversation

@augustocesarperin
Copy link

@augustocesarperin augustocesarperin commented Jan 2, 2026

cc #141726

Unify the From tests from f16.rs and f128.rs into a single float_test! in mod.rs.

@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 Jan 2, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 2, 2026

r? @jieyouxu

rustbot has assigned @jieyouxu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot

This comment has been minimized.

Unify the From<bool> tests from f16.rs and f128.rs into a single float_test! in mod.rs.
@jieyouxu
Copy link
Member

jieyouxu commented Jan 3, 2026

@rustbot reroll

@rustbot rustbot assigned Mark-Simulacrum and unassigned jieyouxu Jan 3, 2026
@hkBst
Copy link
Member

hkBst commented Jan 3, 2026

cc @RalfJung @tgross35

Copy link
Member

@hkBst hkBst left a comment

Choose a reason for hiding this comment

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

assert_biteq!(f16::from(u8::MAX), 255.0);
assert_biteq!(f16::from(i8::MIN), -128.0);
assert_biteq!(f16::from(42_i8), 42.0);
assert_biteq!(f16::from(i8::MAX), 127.0);
Copy link
Member

Choose a reason for hiding this comment

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

Why only the bools, and not the rest of the cases here?

Copy link
Member

Choose a reason for hiding this comment

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

Probably because they want to know whether they are on the right track, given this is their first PR here.

Are you saying they are on the right track and should add more?

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 4, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 4, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

@rustbot rustbot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jan 4, 2026
@tgross35
Copy link
Contributor

tgross35 commented Jan 5, 2026

I believe this will be superseded by #148206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

6 participants