Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBitSet (0.09 sec)

  1. src/math/big/int_test.go

    	{"-0x2000000000000000000000000001", 109, 0},
    	{"-0x2000000000000000000000000001", 110, 1},
    }
    
    func TestBitSet(t *testing.T) {
    	for _, test := range bitwiseTests {
    		x := new(Int)
    		x.SetString(test.x, 0)
    		testBitset(t, x)
    		x = new(Int)
    		x.SetString(test.y, 0)
    		testBitset(t, x)
    	}
    	for i, test := range bitsetTests {
    		x := new(Int)
    		x.SetString(test.x, 0)
    		b := x.Bit(test.i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top