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

Method length

src/common/BigInteger.cpp:183–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 unsigned int BigInteger::length() const
184 {
185 int rc = mp_unsigned_bin_size(const_cast<mp_int*>(&t));
186 if (rc < 0)
187 {
188 check(rc, "mp_unsigned_bin_size(&t)");
189 }
190 return static_cast<unsigned int>(rc);
191 }
192
193 void BigInteger::getText(string& str, unsigned int radix) const
194 {

Callers

nothing calls this directly

Calls 2

mp_unsigned_bin_sizeFunction · 0.85
checkFunction · 0.70

Tested by

no test coverage detected