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

Method String

bigint.go:931–938  ·  view source on GitHub ↗

String calls (big.Int).String.

()

Source from the content-addressed store, hash-verified

929
930// String calls (big.Int).String.
931func (z *BigInt) String() string {
932 if z == nil {
933 // Fast-path that avoids innerOrNil, allowing inner to be inlined.
934 return "<nil>"
935 }
936 var tmp1 big.Int //gcassert:noescape
937 return z.inner(&tmp1).String()
938}
939
940// Sub calls (big.Int).Sub.
941func (z *BigInt) Sub(x, y *BigInt) *BigInt {

Callers 15

TestDigitsLookupTableFunction · 0.95
initFunction · 0.95
BenchmarkNumDigitsLookupFunction · 0.45
BenchmarkNumDigitsFullFunction · 0.45
TestNumDigitsFunction · 0.45
TestTableExp10Function · 0.45
doneMethod · 0.45
RunMethod · 0.45
gdaTestFunction · 0.45
runBenchesFunction · 0.45
BenchmarkDecimalStringFunction · 0.45

Calls 1

innerMethod · 0.95

Tested by 15

TestDigitsLookupTableFunction · 0.76
BenchmarkNumDigitsLookupFunction · 0.36
BenchmarkNumDigitsFullFunction · 0.36
TestNumDigitsFunction · 0.36
TestTableExp10Function · 0.36
RunMethod · 0.36
gdaTestFunction · 0.36
runBenchesFunction · 0.36
BenchmarkDecimalStringFunction · 0.36