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

Method ln

src/common/DecFloat.cpp:975–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973}
974
975Decimal128 Decimal128::ln(DecimalStatus decSt) const
976{
977 decNumber dn;
978 decQuadToNumber(&dec, &dn);
979
980 DecimalContext context(this, decSt);
981 decNumberLn(&dn, &dn, &context);
982
983 Decimal128 rc;
984 decQuadFromNumber(&rc.dec, &dn, &context);
985 return rc;
986}
987
988Decimal128 Decimal128::log10(DecimalStatus decSt) const
989{

Callers 2

evlLnLog10Function · 0.80
evlLogFunction · 0.80

Calls 1

decNumberLnFunction · 0.85

Tested by

no test coverage detected