MCPcopy Create free account
hub / github.com/MyGUI/mygui / is_nan

Function is_nan

Tools/EditorFramework/pugixml.cpp:6923–6934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6921}
6922
6923PUGI__FN bool is_nan(double value)
6924{
6925 #if defined(PUGI__MSVC_CRT_VERSION) || defined(__BORLANDC__)
6926 return !!_isnan(value);
6927 #elif defined(fpclassify) && defined(FP_NAN)
6928 return fpclassify(value) == FP_NAN;
6929 #else
6930 // fallback
6931 const volatile double v = value;
6932 return v != v;
6933 #endif
6934}
6935
6936PUGI__FN const char_t* convert_number_to_string_special(double value)
6937{

Callers 2

eval_stringMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected