-
Notifications
You must be signed in to change notification settings - Fork 3.9k
GH-48123 [C++][Float16] Reimplement arrow::WithinUlp and Enable it for float16 #48224
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
|
|
pitrou
left a comment
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.
This is neat, thank you. A couple comments below, but looks good on the principle.
|
@pitrou Thank you for the review. I’ve checked all the comments and will apply your suggestions in the coming days. |
67f5d3b to
f91d298
Compare
pitrou
left a comment
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.
LGTM, thank you @andishgar ! I've just pushed a very minor change and will merge if CI is ok.
|
@github-actions crossbow submit -g cpp |
|
Revision: 0597736 Submitted crossbow builds: ursacomputing/crossbow @ actions-aeed0cd233 |
Rationale for this change
Refer to this comment. Additionally, this change enables
arrow::WithinUlpforfloat16.What changes are included in this PR?
Re-implement
arrow::WithinUlpand enable it forfloat16, including relevant tests for corner cases around powers of two andFloat16.Are these changes tested?
Yes, I ran the relevant unit tests.
Are there any user-facing changes?
No.