- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for div19_uint16 (0.12 sec)
-
src/cmd/compile/internal/test/testdata/arith_test.go
} if want, got := uint8(i)%uint8(nineteenU) == 0, div19_uint8(uint8(i)); got != want { t.Errorf("div6_uint19(%d) = %v want %v", i, got, want) } } if want, got := uint16(i)%uint16(sixU) == 0, div6_uint16(uint16(i)); got != want { t.Errorf("div6_uint16(%d) = %v want %v", i, got, want) } if want, got := uint16(i)%uint16(nineteenU) == 0, div19_uint16(uint16(i)); got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:30:59 UTC 2023 - 43.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/arithBoundary_test.go
if got := sub_uint16_ssa(v.a, v.b); got != v.sub { t.Errorf("sub_uint16 %d-%d = %d, wanted %d\n", v.a, v.b, got, v.sub) } if v.b != 0 { if got := div_uint16_ssa(v.a, v.b); got != v.div { t.Errorf("div_uint16 %d/%d = %d, wanted %d\n", v.a, v.b, got, v.div) } } if v.b != 0 { if got := mod_uint16_ssa(v.a, v.b); got != v.mod { t.Errorf("mod_uint16 %d%%%d = %d, wanted %d\n", v.a, v.b, got, v.mod) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 31.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/arithConst_test.go
test_uint16{fn: sub_uint16_65535, fnname: "sub_uint16_65535", in: 65535, want: 0}, test_uint16{fn: div_0_uint16, fnname: "div_0_uint16", in: 1, want: 0}, test_uint16{fn: div_0_uint16, fnname: "div_0_uint16", in: 65535, want: 0}, test_uint16{fn: div_uint16_1, fnname: "div_uint16_1", in: 0, want: 0}, test_uint16{fn: div_1_uint16, fnname: "div_1_uint16", in: 1, want: 1}, test_uint16{fn: div_uint16_1, fnname: "div_uint16_1", in: 1, want: 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 23 06:40:04 UTC 2020 - 633.8K bytes - Viewed (0)