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

Method decr

bigint_test.go:794–794  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

792
793func (z *BigInt) incr() *BigInt { return z.Add(z, bigOne) }
794func (z *BigInt) decr() *BigInt { return z.Sub(z, bigOne) }
795
796var interestingNumbers = [...]*BigInt{
797 new(BigInt).SetInt64(math.MinInt64).decr(),

Callers 1

bigint_test.goFile · 0.80

Calls 1

SubMethod · 0.95

Tested by

no test coverage detected