MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / IsIntegral

Function IsIntegral

edrav2/eprj/jsoncpp/src/lib_json/json_value.cpp:1349–1352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1347//# endif
1348
1349static bool IsIntegral(double d) {
1350 double integral_part;
1351 return modf(d, &integral_part) == 0.0;
1352}
1353
1354bool Value::isNull() const { return type_ == nullValue; }
1355

Callers 5

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

Calls 1

modfFunction · 0.50

Tested by

no test coverage detected