MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / DecimalMod

Function DecimalMod

tidbparser/dependency/types/mydecimal.go:1871–1874  ·  view source on GitHub ↗

* DecimalMod does modulus of two decimals. from1 - dividend from2 - divisor to - modulus RETURN VALUE E_DEC_OK/E_DEC_TRUNCATED/E_DEC_OVERFLOW/E_DEC_DIV_ZERO; NOTES see do_div_mod() DESCRIPTION the modulus R in R = M mod N is defined as 0

(from1, from2, to *MyDecimal)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

myMaxInt8Function · 0.85
doDivModFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…