-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Extend Print class for 64bit integers. #7040
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
Conversation
There was a problem hiding this 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 ?
On AVR (arduino/ArduinoCore-avr#312) it's different from Xtensa, I've now optimized both PRs for size, thanks for asking the question. |
76acf6c
to
127e75f
Compare
@dok-net just the one change and this is good from me. |
Built binary size remains unchanged.
|
This today got merged in Arduino Core for ESP32 master, espressif/arduino-esp32#3688 |
…t(...). Move template defintion into cpp file - valid for private member function templates.
@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.