MCPcopy Create free account
hub / github.com/FastLED/FastLED / isNaN

Function isNaN

tests/fl/audio/adversarial.cpp:40–42  ·  view source on GitHub ↗

Safe NaN check that doesn't rely on isnan

Source from the content-addressed store, hash-verified

38
39// Safe NaN check that doesn't rely on isnan
40static bool isNaN(float x) {
41 return !(x == x);
42}
43
44} // anonymous namespace
45

Callers 2

formatTimeMethod · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected