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

py/emitnative: Implement binary operations for uint operands. #6178

Merged
merged 3 commits into from Jun 26, 2020

Conversation

dpgeorge
Copy link
Member

@dpgeorge dpgeorge commented Jun 21, 2020

Fixes issue #1847 and issue #6177.

TODO: write tests -- now done.

@dpgeorge
Copy link
Member Author

This has now been tested on stm32, esp8266, esp32, unix x86 and x64 and a Raspberry Pi for ARM 32-bit.

Signed-off-by: Damien George <damien@micropython.org>
Signed-off-by: Damien George <damien@micropython.org>
uint types in viper mode can now be used for all binary operators except
floor-divide and modulo.

Fixes issue micropython#1847 and issue micropython#6177.

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge dpgeorge merged commit 41fa8b5 into micropython:master Jun 26, 2020
@dpgeorge dpgeorge deleted the py-emitnative-binop-uint branch June 26, 2020 14:52
tannewt pushed a commit to tannewt/circuitpython that referenced this pull request Mar 21, 2022
add feather esp32-s3 8mb flash, 0 psram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant