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

Function IsIntegral

vrclient_x64/jsoncpp.cpp:3695–3698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 4

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

Calls

no outgoing calls

Tested by

no test coverage detected