MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / IsIntegral

Function IsIntegral

Sources/Dependencies/jsoncpp/value.cpp:1433–1436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1431 }
1432
1433 static bool IsIntegral(double d) {
1434 double integral_part;
1435 return modf(d, &integral_part) == 0.0;
1436 }
1437
1438 bool Value::isNull() const {
1439 return type() == nullValue;

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected