Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3695
static bool IsIntegral(double d) {
3696
double integral_part;
3697
return modf(d, &integral_part) == 0.0;
3698
}
3699
3700
bool Value::isNull() const { return type_ == nullValue; }
3701
Callers
4
isInt
Method · 0.85
isUInt
Method · 0.85
isInt64
Method · 0.85
isUInt64
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected