MCPcopy 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

calcMethod · 0.80
compareMethod · 0.80

Calls 1

isFloatFunction · 0.85

Tested by

no test coverage detected