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

Method toDoubleNumber

lib/mathlib.cpp:507–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507double MathLib::toDoubleNumber(const Token * tok)
508{
509 return toDoubleNumber(tok->str(), tok);
510}
511
512double MathLib::toDoubleNumber(const std::string &str, const Token * const tok)
513{

Callers

nothing calls this directly

Calls 4

isFloatFunction · 0.85
floatHexToDoubleNumberFunction · 0.85
isCharLiteralFunction · 0.70
strMethod · 0.45

Tested by

no test coverage detected