Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestAddSubUint64 (0.19 sec)

  1. src/math/bits/bits_test.go

    		test("Add32 symmetric", Add32, a.y, a.x, a.c, a.z, a.cout)
    		test("Sub32", Sub32, a.z, a.x, a.c, a.y, a.cout)
    		test("Sub32 symmetric", Sub32, a.z, a.y, a.c, a.x, a.cout)
    	}
    }
    
    func TestAddSubUint64(t *testing.T) {
    	test := func(msg string, f func(x, y, c uint64) (z, cout uint64), x, y, c, z, cout uint64) {
    		z1, cout1 := f(x, y, c)
    		if z1 != z || cout1 != cout {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 22 20:11:06 UTC 2020
    - 32.5K bytes
    - Viewed (0)
Back to top