Skip to content

Conversation

@andishgar
Copy link
Contributor

@andishgar andishgar commented Nov 22, 2025

Rationale for this change

Refer to this comment. Additionally, this change enables arrow::WithinUlp for float16.

What changes are included in this PR?

Re-implement arrow::WithinUlp and enable it for float16, including relevant tests for corner cases around powers of two and Float16.

Are these changes tested?

Yes, I ran the relevant unit tests.

Are there any user-facing changes?

No.

@github-actions
Copy link

⚠️ GitHub issue #48123 has been automatically assigned in GitHub to PR creator.

Copy link
Member

@pitrou pitrou left a 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.

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Nov 26, 2025
@andishgar
Copy link
Contributor Author

@pitrou Thank you for the review. I’ve checked all the comments and will apply your suggestions in the coming days.

Copy link
Member

@pitrou pitrou left a 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.

@pitrou
Copy link
Member

pitrou commented Dec 8, 2025

@github-actions crossbow submit -g cpp

@pitrou pitrou added the CI: Extra: C++ Run extra C++ CI label Dec 8, 2025
@github-actions
Copy link

github-actions bot commented Dec 8, 2025

Revision: 0597736

Submitted crossbow builds: ursacomputing/crossbow @ actions-aeed0cd233

Task Status
example-cpp-minimal-build-static GitHub Actions
example-cpp-minimal-build-static-system-dependency GitHub Actions
example-cpp-tutorial GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind GitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1 GitHub Actions
test-cuda-cpp-ubuntu-24.04-cuda-13.0.2 GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-42-cpp GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-bundled GitHub Actions
test-ubuntu-22.04-cpp-emscripten GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-bundled-offline GitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundled GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizer GitHub Actions

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

Labels

awaiting committer review Awaiting committer review CI: Extra: C++ Run extra C++ CI Component: C++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants