Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
3696
static bool IsIntegral(double d) {
3697
double integral_part;
3698
return modf(d, &integral_part) == 0.0;
3699
}
3700
3701
bool Value::isNull() const { return type_ == nullValue; }
3702
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