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

Extend Print class for 64bit integers. #7040

Merged
merged 5 commits into from Oct 1, 2020
Merged

Conversation

dok-net
Copy link
Contributor

@dok-net dok-net commented Jan 28, 2020

@d-a-v We've talked about it yesterday. Even if PR'ing AVR Arduino is a good idea to do first|also, could you give this an eye, please?
Compiled size is not affected if not used with (u)int64_t, if print(int64_t) gets used, 288 bytes IROM are used additionally.

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !
Is the new modulo code smaller than the former substract-multiply ?

@dok-net
Copy link
Contributor Author

dok-net commented Jan 29, 2020

On AVR (arduino/ArduinoCore-avr#312) it's different from Xtensa, I've now optimized both PRs for size, thanks for asking the question.

cores/esp8266/Print.cpp Outdated Show resolved Hide resolved
cores/esp8266/Print.cpp Outdated Show resolved Hide resolved
cores/esp8266/Print.cpp Outdated Show resolved Hide resolved
cores/esp8266/Print.cpp Outdated Show resolved Hide resolved
@devyte
Copy link
Collaborator

devyte commented Apr 18, 2020

@dok-net just the one change and this is good from me.

@dok-net
Copy link
Contributor Author

dok-net commented Apr 18, 2020 via email

@dok-net
Copy link
Contributor Author

dok-net commented Sep 30, 2020

This today got merged in Arduino Core for ESP32 master, espressif/arduino-esp32#3688

@devyte devyte merged commit 96243d7 into esp8266:master Oct 1, 2020
@devyte devyte added this to the 3.0.0 milestone Oct 1, 2020
@dok-net dok-net deleted the print64bit branch October 3, 2020 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants