MCPcopy Create free account
hub / github.com/Samsung/UTopia / IsIntegral

Function IsIntegral

external/jsoncpp/jsoncpp.cpp:3681–3684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3679//# endif
3680
3681static bool IsIntegral(double d) {
3682 double integral_part;
3683 return modf(d, &integral_part) == 0.0;
3684}
3685
3686bool Value::isNull() const { return type() == nullValue; }
3687

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