MCPcopy Create free account
hub / github.com/Illumina/hap.py / IsIntegral

Function IsIntegral

external/jsoncpp/jsoncpp.cpp:2649–2652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2647//# endif
2648
2649static bool IsIntegral(double d) {
2650 double integral_part;
2651 return modf(d, &integral_part) == 0.0;
2652}
2653
2654bool Value::isNull() const { return type_ == nullValue; }
2655

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected