MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / checkFloatNaN

Function checkFloatNaN

extras/tests/Numbers/parseFloat.cpp:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void checkFloatNaN(const char* input) {
21 CAPTURE(input);
22 float result = parseNumber<float>(input);
23 REQUIRE(result != result);
24}
25
26void checkFloatInf(const char* input, bool negative) {
27 CAPTURE(input);

Callers 1

parseFloat.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected