-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[BUG] [stdlib] [SIMD] Inconsistent int casting #3167
Comments
martinvuyk
added
bug
Something isn't working
mojo-repo
Tag all issues with this label
labels
Jul 2, 2024
thanks a lot for pointing me to the issue #3065 seems like this is a dup of that
yeah there are several things going on with SIMD atm. that are weirdly implicit and unexpected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
output:
Steps to reproduce
I think it makes more sense to assume
int(UIntX)
means positive value, and also when doingUIntX.cast[DType.intX]()
. Since for example:output:
only in the case of
UInt8 -> Int8
does it really make sense to say it has to be negative since it overflowsSystem information
The text was updated successfully, but these errors were encountered: