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

Add more integer dtypes #769

Merged
merged 5 commits into from
Dec 13, 2023
Merged

Add more integer dtypes #769

merged 5 commits into from
Dec 13, 2023

Conversation

philss
Copy link
Contributor

@philss philss commented Dec 12, 2023

This PR adds support for signed and unsigned integer datatypes. There are now 8 different dtypes for integers, and they have 8, 16, 32 or 64 bits in size.

The idea is to follow the same naming from Nx. {:s, size} is for signed integers, and {:u, size} is for the unsigned.

In this PR I'm adding only the new dtypes. The :integer dtype remains, and I should "rename" it - to {:s, 64} - in another PR.


PS: there are some work to be done in the area of projecting the dtypes of "out dfs" that I plan to do in another PR as well.

@josevalim
Copy link
Member

Also don't forget to add to your todo list the refactoring of iotype. :)

@philss philss merged commit 4dab528 into main Dec 13, 2023
4 checks passed
@philss philss deleted the ps-add-more-integer-dtypes branch December 13, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants