Repository navigation
Closes #4569: Simplify and extend logic in doBigIntBinOpvv and doBigIntBinOpvvBoolReturn - #4593
Merged
Conversation
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
8 times, most recently
from
June 18, 2025 17:09
ee9eaed to
7a87f79
Compare
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
from
June 30, 2025 11:37
7a87f79 to
1417f39
Compare
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
from
August 1, 2025 17:20
bfe5aac to
ce0e7d9
Compare
drculhane
reviewed
Aug 13, 2025
Contributor
|
I'm getting an error in the boolean return. I think I've done this correctly. Take a look. The first element of b < c should be True. |
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
3 times, most recently
from
August 29, 2025 17:53
8a4737c to
046d338
Compare
1RyanK
marked this pull request as ready for review
August 29, 2025 17:53
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
from
September 2, 2025 12:16
046d338 to
e1b2014
Compare
ajpotts
reviewed
Sep 4, 2025
ajpotts
approved these changes
Sep 4, 2025
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
from
October 3, 2025 11:48
2d18a64 to
3794550
Compare
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Oct 17, 2025
I mainly was trying to fix issues surrounding things like `ak.array([-2**200])`, but while I was messing around in `ak.array` I noticed a few other things that needed fixing. This is needed for #4593. **Summary of Changes** * Added an early `str` check to raise a clear `TypeError` for scalar string inputs. * Tightened iterable handling to convert only generators/ranges to lists, leaving `np.ndarray` and `pd.Series` intact. * Refined unsigned integer inference to require non-negative values and include values ≥ 2⁶³. * Added automatic `bigint` inference for `object` arrays containing only integers. * Reworked negative bigint handling to properly construct signed bigints using a sign mask. * Added tests for large negative bigint values, range conversion, unsigned inference, and mixed-sign behavior. **Purpose:** Fixes incorrect bigint conversion for large negative numbers and cleans up input normalization and dtype inference logic. Closes #4984: ak.array with negative numbers still has problems
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
2 times, most recently
from
November 13, 2025 17:33
171ce27 to
317a1d9
Compare
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
from
November 14, 2025 15:36
17acd25 to
7bd5cba
Compare
…and doBigIntBinOpvvBoolReturn
1RyanK
force-pushed
the
4569-Simplify_and_extend_logic_in_doBigIntBinOpvv_and_doBigIntBinOpvvBoolReturn
branch
from
November 14, 2025 15:38
7bd5cba to
1ead109
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added operations that should work between bigints and reals, straightened out the code significantly and also added support for a few other operations between types that wasn't previously supported.
Closes #4569: Simplify and extend logic in doBigIntBinOpvv and doBigIntBinOpvvBoolReturn