Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMulRangeN (0.15 sec)

  1. src/math/big/nat_test.go

    	{math.MaxUint64 - 3, math.MaxUint64, "115792089237316195360799967654821100226821973275796746098729803619699194331160"},
    }
    
    func TestMulRangeN(t *testing.T) {
    	for i, r := range mulRangesN {
    		prod := string(nat(nil).mulRange(r.a, r.b).utoa(10))
    		if prod != r.prod {
    			t.Errorf("#%d: got %s; want %s", i, prod, r.prod)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top