Skip to content

Conversation

@Standing-Man
Copy link
Contributor

Which issue does this PR close?

What changes are included in this PR?

For F32 and F64, we use the total_cmp method for comparison.

Are these changes tested?

Yes, I added test cases to verify whether the comparison follows the IEEE 754 rules.

@Standing-Man
Copy link
Contributor Author

Standing-Man commented Dec 24, 2025

@liurenjie1024 and @yshcz ready for review.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Float comparison does not follow IEEE 754 totalOrder for -0.0 vs +0.0

1 participant