go/src/math/big/arith_test.go

var isRaceBuilder

type funVV

type argVV

var sumVV

func testFunVV(t *testing.T, msg string, f funVV, a argVV) {}

func TestFunVV(t *testing.T) {}

var rnd

func rndW() Word {}

func rndV(n int) []Word {}

var benchSizes

func BenchmarkAddVV(b *testing.B) {}

func BenchmarkSubVV(b *testing.B) {}

type funVW

type argVW

var sumVW

var lshVW

var rshVW

func testFunVW(t *testing.T, msg string, f funVW, a argVW) {}

func testFunVWext(t *testing.T, msg string, f funVW, f_g funVW, a argVW) {}

func makeFunVW(f func(z, x []Word, s uint) (c Word)) funVW {}

func TestFunVW(t *testing.T) {}

// Construct a vector comprising the same word, usually '0' or 'maximum uint'
func makeWordVec(e Word, n int) []Word {}

// Extended testing to addVW and subVW using various kinds of input data.
// We utilize the results of addVW_g and subVW_g as golden reference to check
// correctness.
func TestFunVWExt(t *testing.T) {}

type argVU

var argshlVUIn

var argshlVUr0

var argshlVUr1

var argshlVUrWm1

var argshlVU

var argshrVUIn

var argshrVUr0

var argshrVUr1

var argshrVUrWm1

var argshrVU

func testShiftFunc(t *testing.T, f func(z, x []Word, s uint) Word, a argVU) {}

func TestShiftOverlap(t *testing.T) {}

func TestIssue31084(t *testing.T) {}

const issue42838Value

func TestIssue42838(t *testing.T) {}

func BenchmarkAddVW(b *testing.B) {}

// Benchmarking addVW using vector of maximum uint to force carry flag set
func BenchmarkAddVWext(b *testing.B) {}

func BenchmarkSubVW(b *testing.B) {}

// Benchmarking subVW using vector of zero to force carry flag set
func BenchmarkSubVWext(b *testing.B) {}

type funVWW

type argVWW

var prodVWW

func testFunVWW(t *testing.T, msg string, f funVWW, a argVWW) {}

type funWVW

type argWVW

func testFunWVW(t *testing.T, msg string, f funWVW, a argWVW) {}

func TestFunVWW(t *testing.T) {}

var mulWWTests

func TestMulWW(t *testing.T) {}

var mulAddWWWTests

func TestMulAddWWW(t *testing.T) {}

var divWWTests

const testsNumber

func TestDivWW(t *testing.T) {}

func BenchmarkMulAddVWW(b *testing.B) {}

func BenchmarkAddMulVVW(b *testing.B) {}

func BenchmarkDivWVW(b *testing.B) {}

func BenchmarkNonZeroShifts(b *testing.B) {}