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

Function asInt

lib/programmemory.cpp:630–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630static MathLib::bigint asInt(const ValueFlow::Value& value)
631{
632 return value.isFloatValue() ? static_cast<MathLib::bigint>(value.floatValue) : value.intvalue;
633}
634
635namespace {
636 struct assign {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected