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

Method makeKey

src/common/DecFloat.cpp:533–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533void Decimal64::makeKey(ULONG* key) const
534{
535 unsigned char coeff[DECDOUBLE_Pmax];
536 int sign = decDoubleGetCoefficient(&dec, coeff);
537 int exp = decDoubleGetExponent(&dec);
538 decClass dc = decDoubleClass(&dec);
539
540 make(key, DECDOUBLE_Pmax, DECDOUBLE_Bias, sizeof(dec), coeff, sign, exp, dc);
541}
542
543void Decimal64::grabKey(ULONG* key)
544{

Callers 2

diddleKeyMethod · 0.80
computeHashMethod · 0.80

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected