MCPcopy Create free account
hub / github.com/Illumina/paragraph / IsIntegral

Function IsIntegral

external/jsoncpp/jsoncpp.cpp:3766–3769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3764//# endif
3765
3766static bool IsIntegral(double d) {
3767 double integral_part;
3768 return modf(d, &integral_part) == 0.0;
3769}
3770
3771bool Value::isNull() const { return type_ == nullValue; }
3772

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