Skip to content
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

GH-15200: [C++] Add specific ndigits value for round #33774

Closed

Conversation

EpsilonPrime
Copy link
Contributor

@EpsilonPrime EpsilonPrime commented Jan 19, 2023

Adds binary round kernel for float types.
Provides fallback for binary round from int types to double. Does not provide fallback for binary round for decimal types.

Minor:
Fixes fallback behavior to only affect the first argument. Corrects fallback error message to display the original type instead of the fallback type when the underlying type cannot be found. Round benchmark changed to be driven like arithmetic benchamrk instead of the string benchmark.

Trivial:
Renames Arithmetic to Round to match the containing module. Removes some unreachable code.

Adds binary round kernel for float types.
Provides fallback for binary round from int types to double.
Does not provide fallback for binary round for decimal types.

Minor:
Fixes fallback behavior to only affect the first argument.
Corrects fallback error message to display the original type instead of the fallback type when the underlying type cannot be found.
Round benchmark changed to be driven like arithmetic benchamrk instead of the string benchmark.

Trivial:
Renames Arithmetic to Round to match the containing module.
Removes some unreachable code.
@EpsilonPrime
Copy link
Contributor Author

Replaces PR 30309.

@github-actions
Copy link

@EpsilonPrime
Copy link
Contributor Author

Wrong bug, I'll try again.

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

Successfully merging this pull request may close these issues.

[C++][Arrow] Add benchmarks for the round functions.
1 participant