MCPcopy Create free account
hub / github.com/cockroachdb/apd / MakeErrDecimal

Function MakeErrDecimal

error.go:18–22  ·  view source on GitHub ↗

MakeErrDecimal creates a ErrDecimal with given context.

(c *Context)

Source from the content-addressed store, hash-verified

16
17// MakeErrDecimal creates a ErrDecimal with given context.
18func MakeErrDecimal(c *Context) ErrDecimal {
19 return ErrDecimal{
20 Ctx: c,
21 }
22}
23
24// ErrDecimal performs operations on decimals and collects errors during
25// operations. If an error is already set, the operation is skipped. Designed to

Callers 8

TestErrDecimalFunction · 0.85
SqrtMethod · 0.85
CbrtMethod · 0.85
LnMethod · 0.85
ExpMethod · 0.85
integerPowerMethod · 0.85
PowMethod · 0.85

Calls

no outgoing calls

Tested by 2

TestErrDecimalFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…