-
Notifications
You must be signed in to change notification settings - Fork 2
Properly handles overflow integers. #51
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
Open
chaburkland
wants to merge
49
commits into
static-frame:master
Choose a base branch
from
chaburkland:50/dtype_from_element/bigint_bug
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+44
−23
Open
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
54f53d5
Properly handles overflow integers.
chaburkland d3b188e
Removes specific bytes size from test.
chaburkland 93a91ff
More tweaks to int sizes.
chaburkland 38d4fc6
Adds 2**32 test.
chaburkland 4769f0f
Fixes unhelpful comments.
chaburkland 91c4aee
Makes implicit type coercion explicit.
chaburkland ca8b822
Update test/test_util.py
chaburkland 3f67876
Update src/_arraykit.c
chaburkland f916fdd
Update src/_arraykit.c
chaburkland f2a14eb
Update src/_arraykit.c
chaburkland 5d24633
Update src/_arraykit.c
chaburkland 83618f1
Update src/_arraykit.c
chaburkland 910b978
Update src/_arraykit.c
chaburkland 34309ef
Update src/_arraykit.c
chaburkland 135d10b
Update src/_arraykit.c
chaburkland 086c6ba
Update src/_arraykit.c
chaburkland 54bd85f
Fixes syntax bug from merge suggestion.
chaburkland 021518d
Fixes incorrect mid-range boundaries.
chaburkland dcf9244
Yet another attempt to fix this cursed test.
chaburkland 33cc3c2
Another attempt >:|
chaburkland 078a00a
Attempt to be inclusive of 32bit architectures.
chaburkland cc9d8f7
Updates error message. Why does anyone have 32bit machines?
chaburkland b22f42a
More commits to use github to debug 32bit errors since I cant do it l…
chaburkland 5c8d496
:|
chaburkland 2710778
This will fail. I need more iinfo.
chaburkland 600b2cc
Another attempt
chaburkland be291a0
Another attempt
chaburkland 692dfab
:|
chaburkland 351e87f
Another change.
chaburkland 2da3699
int
chaburkland 7706a70
longlonglonglong
chaburkland af11253
ulululululul
chaburkland 6908380
ugh
chaburkland 547c0ad
Cleans up test_dtype_from_element_overflow
chaburkland d037448
Adds another test.
chaburkland 7720dc3
Update test to show me exactly how I am wrong.
chaburkland 711f4ab
npy_long npy_int. :|
chaburkland c2e43e3
36 does not have fstrings.
chaburkland 3a932d3
Updates test and code. Wont work.
chaburkland 561773b
Caves into the tyrant that is numpy. Cleans up unit tests.
chaburkland 983c6bd
Fixes an implicit cast.
chaburkland 4e7ef55
The cast went both ways.
chaburkland dea6894
Tries Brandts suggestion.
chaburkland 6fcd1a9
Apparantly this was his suggestion, not the last commit.
chaburkland cda8836
I messed it up again.
chaburkland 46f50f6
That did not work. Go back to np.array(val).dtype
chaburkland 5c73856
Adds negative numbers back!
chaburkland 92b8bb4
Uses PyArray_DescrFromObject instead. It is also faster
chaburkland 6d4fefd
Update src/_arraykit.c
chaburkland File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.