MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / IsIntegral

Function IsIntegral

src/jsoncpp.cpp:3696–3699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3694//# endif
3695
3696static bool IsIntegral(double d) {
3697 double integral_part;
3698 return modf(d, &integral_part) == 0.0;
3699}
3700
3701bool Value::isNull() const { return type_ == nullValue; }
3702

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected