Increase buffer size for converting floats + doubles to String's#163
Increase buffer size for converting floats + doubles to String's#163sandeepmistry wants to merge 1 commit into
Conversation
Previously it was too small to print FLT_MAX and DBL_MAX
|
If this is merged, it also needs to be ported to the 101 core. |
|
Is that code correct? You shouldn't declare an array whose size is not available at compilation time. I can't test it now, but if you enable all warnings the compiler should emit one because of it. Any way, as I'm reading here, g++ may allow it as an extension, but it is not valid C++. |
|
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
|
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
|
✅ Build completed. ⬇️ Build URL: ℹ️ To test this build:
|
|
Closing this because it will be done in arduino/ArduinoCore-API#128 instead. |
Previously it was too small to print FLT_MAX and DBL_MAX.
Troublesome sketch: