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

Method floor

src/common/DecFloat.cpp:467–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467Decimal64 Decimal64::floor(DecimalStatus decSt) const
468{
469 DecimalContext context(this, decSt);
470 Decimal64 rc;
471 decDoubleToIntegralValue(&rc.dec, &dec, &context, DEC_ROUND_FLOOR);
472 return rc;
473}
474
475int Decimal64::compare(DecimalStatus decSt, Decimal64 tgt) const
476{

Callers 1

evlFloorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected