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

Method toDouble

src/common/Int128.cpp:482–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482double Int128::toDouble() const
483{
484 unsigned dwords[4];
485 getTable32(dwords);
486 double rc = int(dwords[3]);
487 for (int i = 3; i--;)
488 {
489 rc *= p2_32;
490 rc += dwords[i];
491 }
492
493 return rc;
494}
495
496Int128 Int128::mul(Int128 op2) const
497{

Callers 1

CVT_get_doubleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected