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

Method quantize

src/common/DecFloat.cpp:563–569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

561}
562
563Decimal64 Decimal64::quantize(DecimalStatus decSt, Decimal64 op2) const
564{
565 DecimalContext context(this, decSt);
566 Decimal64 rc;
567 decDoubleQuantize(&rc.dec, &dec, &op2.dec, &context);
568 return rc;
569}
570
571Decimal64 Decimal64::normalize(DecimalStatus decSt) const
572{

Callers 3

evlQuantizeFunction · 0.80
setMethod · 0.80
toInt64Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected