Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMulDiv64 (0.63 sec)

  1. src/math/bits/bits_test.go

    		testMul("Mul32 symmetric", Mul32, a.y, a.x, a.hi, a.lo)
    		testDiv("Div32", Div32, a.hi, a.lo+a.r, a.y, a.x, a.r)
    		testDiv("Div32 symmetric", Div32, a.hi, a.lo+a.r, a.x, a.y, a.r)
    	}
    }
    
    func TestMulDiv64(t *testing.T) {
    	testMul := func(msg string, f func(x, y uint64) (hi, lo uint64), x, y, hi, lo uint64) {
    		hi1, lo1 := f(x, y)
    		if hi1 != hi || lo1 != lo {
    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