Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Dimension::splitting_value for signed and negative inputs (#1725)
The bitwise calculation for the partitioner's dimension splitting value uses an extra high to avoid overflow mid-calculation. The types may be signed or unsigned. If the input arguments are signed and negative, we need to flip the high bit to maintain two's complement notation. Co-authored-by: Joe Maley <[email protected]>
- Loading branch information