MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / toInteger

Method toInteger

src/common/Int128.cpp:403–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403int Int128::toInteger(int scale) const
404{
405 Int128 tmp(*this);
406 tmp.setScale(scale);
407 int rc;
408 if (tmp.v.ToInt(rc))
409 overflow();
410 return rc;
411}
412
413void Int128::toString(int scale, unsigned length, char* to) const
414{

Callers 1

CVT_get_longFunction · 0.45

Calls 2

setScaleMethod · 0.45
ToIntMethod · 0.45

Tested by

no test coverage detected