go/src/math/big/natconv_test.go

func TestMaxBase(t *testing.T) {}

// log2 computes the integer binary logarithm of x.
// The result is the integer n for which 2^n <= x < 2^(n+1).
// If x == 0, the result is -1.
func log2(x Word) int {}

func itoa(x nat, base int) []byte {}

var strTests

func TestString(t *testing.T) {}

var natScanTests

func TestScanBase(t *testing.T) {}

var pi

// Test case for BenchmarkScanPi.
func TestScanPi(t *testing.T) {}

func TestScanPiParallel(t *testing.T) {}

func BenchmarkScanPi(b *testing.B) {}

func BenchmarkStringPiParallel(b *testing.B) {}

func BenchmarkScan(b *testing.B) {}

func BenchmarkString(b *testing.B) {}

func BenchmarkLeafSize(b *testing.B) {}

func LeafSizeHelper(b *testing.B, base, size int) {}

func resetTable(table []divisor) {}

func TestStringPowers(t *testing.T) {}