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

fix bitwise_not for signed int #588

Closed
wants to merge 1 commit into from
Closed

Conversation

chenyuxyz
Copy link
Owner

-1 is correct because 2**32-1 is not within int32 range, so in some case clang casts the whole thing into uint32

-1 is correct because 2**32-1 is not within int32 range, so in some case clang casts the whole thing into uint32
Copy link

github-actions bot commented Dec 9, 2024

Changes

Name                  Lines    Diff    Tokens/Line    Diff
------------------  -------  ------  -------------  ------
tinygrad/tensor.py     1242      +0           20.5    -0.0


total lines changes: 0

@chenyuxyz chenyuxyz closed this Dec 9, 2024
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.

1 participant