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

Method Text

bigint.go:958–965  ·  view source on GitHub ↗

Text calls (big.Int).Text.

(base int)

Source from the content-addressed store, hash-verified

956
957// Text calls (big.Int).Text.
958func (z *BigInt) Text(base int) string {
959 if z == nil {
960 // Fast-path that avoids innerOrNil, allowing inner to be inlined.
961 return "<nil>"
962 }
963 var tmp1 big.Int //gcassert:noescape
964 return z.inner(&tmp1).Text(base)
965}
966
967// TrailingZeroBits calls (big.Int).TrailingZeroBits.
968func (z *BigInt) TrailingZeroBits() uint {

Callers 3

ParseDecTestFunction · 0.45
TestBigIntTextFunction · 0.45

Calls 1

innerMethod · 0.95

Tested by 3

ParseDecTestFunction · 0.36
TestBigIntTextFunction · 0.36