MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isFloat

Method isFloat

lib/mathlib.cpp:582–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582bool MathLib::isFloat(const std::string &str)
583{
584 return isDecimalFloat(str) || isFloatHex(str);
585}
586
587bool MathLib::isDecimalFloat(const std::string &str)
588{

Callers 12

getDimensionsEtcFunction · 0.45
setTokenValueCastFunction · 0.45
setTokenValueFunction · 0.45
setParentExprIdFunction · 0.45
setAutoTokenPropertiesFunction · 0.45
matchParameterMethod · 0.45
isTruncatedFunction · 0.45
calcMethod · 0.45
compareMethod · 0.45
followVariableExpressionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected