Issue 4115 (#4518)
* efiPrint NaN handling #4115 * fresh chibi * efiPrint NaN handling #4115
This commit is contained in:
parent
8e46e9e61f
commit
fd2efcdb78
|
@ -1 +1 @@
|
|||
Subproject commit cf743886935c39cbf2ca711e54e9e64238da6e57
|
||||
Subproject commit 639f3ea42ac1212b03c6a3b04448bab2fa982ad3
|
|
@ -49,9 +49,9 @@ static void runChprintfTest() {
|
|||
|
||||
|
||||
ts.eos = 0; // reset
|
||||
// chprintf((BaseSequentialStream*)&ts, "%.2f - %.2f", NAN, 0/0);
|
||||
// ts.buffer[ts.eos] = 0;
|
||||
// assertString(testBuffer, "0.23/239.9320/0.1234");
|
||||
chprintf((BaseSequentialStream*)&ts, "%.2f - %.2f", NAN, NAN);
|
||||
ts.buffer[ts.eos] = 0;
|
||||
assertString(testBuffer, "NaN - NaN");
|
||||
|
||||
// it's a very, very long and mostly forgotten story how this became our %.2f precision format
|
||||
ts.eos = 0; // reset
|
||||
|
|
Loading…
Reference in New Issue