-
Notifications
You must be signed in to change notification settings - Fork 3.8k
GH-46739: [C++] Fix Float16 signed zero/NaN equality comparisons #46973
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
base: main
Are you sure you want to change the base?
Conversation
Temporary for now
|
|
|
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.
Thanks for doing this @benibus . This is a useful fix, here are a couple comments and suggestions.
9cb6072
to
f6b74b2
Compare
Rationale for this change
Equality comparisons between half-floats (used in their scalar/array
Equals
methods) do not properly handleEqualOptions::nans_equal
andEqualOptions::signed_zeros_equal
.What changes are included in this PR?
Are these changes tested?
Yes
Are there any user-facing changes?
No