Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ getDoubleValue
Method
getDoubleValue
lib/mathlib.h:73–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
}
72
73
double getDoubleValue() const {
74
return isFloat() ? mDoubleValue : static_cast<double>(mIntValue);
75
}
76
77
/**
78
* @throws InternalError thrown on invalid/unhandled calculation or division by zero
Callers
2
calc
Method · 0.80
compare
Method · 0.80
Calls
1
isFloat
Function · 0.85
Tested by
no test coverage detected