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

Function convert_number_to_boolean

Tools/EditorFramework/pugixml.cpp:6969–6972  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6967}
6968
6969PUGI__FN bool convert_number_to_boolean(double value)
6970{
6971 return (value != 0 && !is_nan(value));
6972}
6973
6974PUGI__FN void truncate_zeros(char* begin, char* end)
6975{

Callers 1

eval_booleanMethod · 0.70

Calls 1

is_nanFunction · 0.70

Tested by

no test coverage detected