Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for add_0_int64 (0.17 sec)

  1. src/cmd/compile/internal/test/testdata/arithConst_test.go

    	test_int64{fn: mod_0_int64, fnname: "mod_0_int64", in: -9223372036854775808, want: 0},
    	test_int64{fn: mod_0_int64, fnname: "mod_0_int64", in: -9223372036854775807, want: 0},
    	test_int64{fn: mod_0_int64, fnname: "mod_0_int64", in: -4294967296, want: 0},
    	test_int64{fn: mod_0_int64, fnname: "mod_0_int64", in: -1, want: 0},
    	test_int64{fn: mod_0_int64, fnname: "mod_0_int64", in: 1, want: 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 633.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/arithBoundary_test.go

    //TestArithmeticBoundary tests boundary results for arithmetic operations.
    func TestArithmeticBoundary(t *testing.T) {
    
    	for _, v := range uint64_data {
    		if got := add_uint64_ssa(v.a, v.b); got != v.add {
    			t.Errorf("add_uint64 %d+%d = %d, wanted %d\n", v.a, v.b, got, v.add)
    		}
    		if got := sub_uint64_ssa(v.a, v.b); got != v.sub {
    			t.Errorf("sub_uint64 %d-%d = %d, wanted %d\n", v.a, v.b, got, v.sub)
    		}
    		if v.b != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 31.3K bytes
    - Viewed (0)
Back to top