MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / NewDecFromBigIntWithPrec

Function NewDecFromBigIntWithPrec

types/decimal.go:93–97  ·  view source on GitHub ↗

create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision

(i *big.Int, prec int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NewDecFromBigIntFunction · 0.85

Calls 2

precisionMultiplierFunction · 0.85
MulMethod · 0.45

Tested by

no test coverage detected