We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1daeba6 commit 6036846Copy full SHA for 6036846
hardware/arduino/cores/arduino/Print.cpp
@@ -228,6 +228,8 @@ size_t Print::printFloat(double number, uint8_t digits)
228
229
if (isnan(number)) return print("nan");
230
if (isinf(number)) return print("inf");
231
+ if (number > 4294967040.0) return print ("ovf"); // constant determined empirically
232
+ if (number <-4294967040.0) return print ("ovf"); // constant determined empirically
233
234
// Handle negative numbers
235
if (number < 0.0)
0 commit comments