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

UintID arith IntID is ambiguous #40

Open
mkpellegrino opened this issue Apr 22, 2023 · 0 comments
Open

UintID arith IntID is ambiguous #40

mkpellegrino opened this issue Apr 22, 2023 · 0 comments
Assignees

Comments

@mkpellegrino
Copy link
Owner

It's not clear what type of expression the result should be... A? XA?
if performing: 221 * -10 the result should be in XA as -2210... so that's the two's complement of 2210 as a WORD,
but if performing 7 * -10 the result is the two's complement of 70... that's in A... should we make it a word anyhow? If we do,m then if its cast to a uint... we lose the sign!

@mkpellegrino mkpellegrino self-assigned this Apr 22, 2023
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

No branches or pull requests

1 participant