-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
cudf::cast
overflow for decimal64
to int32_t
or smaller in …
…certain cases (#7733) @galipremsagar found an issue with `cudf::cast` for `decimal64`. His test case was when you have a value un-representable in `int32_t`. The cast operation would cast to early and therefore overflow. This PR fixes that issue. Resolves #7689 Authors: - Conor Hoekstra (@codereport) Approvers: - Mike Wilson (@hyperbolic2346) - Ram (Ramakrishna Prabhu) (@rgsl888prabhu) URL: #7733
- Loading branch information
1 parent
ccc28d5
commit fe7ec85
Showing
2 changed files
with
69 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters