MCPcopy Create free account
hub / github.com/Kitware/CMake / IsIntegral

Function IsIntegral

Utilities/cmjsoncpp/src/lib_json/json_value.cpp:1252–1255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1250}
1251
1252static bool IsIntegral(double d) {
1253 double integral_part;
1254 return modf(d, &integral_part) == 0.0;
1255}
1256
1257bool Value::isNull() const { return type() == nullValue; }
1258

Callers 5

isIntMethod · 0.85
isUIntMethod · 0.85
isInt64Method · 0.85
isUInt64Method · 0.85
isIntegralMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…