- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for g32 (0.02 sec)
-
src/internal/coverage/slicereader/slr_test.go
for i := 0; i < 2; i++ { slr := NewReader(b, i == 0) g32 := slr.ReadUint32() if g32 != e32 { t.Fatalf("slr.ReadUint32() got %d want %d", g32, e32) } g64 := slr.ReadUint64() if g64 != e64 { t.Fatalf("slr.ReadUint64() got %d want %d", g64, e64) } g32 = uint32(slr.ReadULEB128()) if g32 != e32 { t.Fatalf("slr.ReadULEB128() got %d want %d", g32, e32) } g64 = slr.ReadULEB128() if g64 != e64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 11:36:28 UTC 2023 - 1.9K bytes - Viewed (0) -
test/fixedbugs/issue66066b.go
println("bad f16", got) } if got := f8(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1); got != 0xff { println("bad f8", got) } if got := g32(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xffffffff); got != -1 { println("bad g32", got) } if got := g16(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xffff); got != -1 { println("bad g16", got) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 17:35:29 UTC 2024 - 1.5K bytes - Viewed (0) -
test/zerodivide.go
ErrorTest{"float64 0/0", func() { use(f / g) }, ""}, ErrorTest{"float32 0/0", func() { use(f32 / g32) }, ""}, ErrorTest{"float64 0/0", func() { use(f64 / g64) }, ""}, ErrorTest{"float64 1/0", func() { use(h / g) }, ""}, ErrorTest{"float32 1/0", func() { use(h32 / g32) }, ""}, ErrorTest{"float64 1/0", func() { use(h64 / g64) }, ""}, ErrorTest{"float64 inf/0", func() { use(inf / g64) }, ""},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/float_test.go
func TestFloatSignalingNaN(t *testing.T) { // Make sure we generate a signaling NaN from a constant properly. // See issue 36400. f32 := math.Float32frombits(snan32bits) g32 := math.Float32frombits(snan32bitsVar) x32 := math.Float32bits(f32) y32 := math.Float32bits(g32) if x32 != y32 { t.Errorf("got %x, want %x (diff=%x)", x32, y32, x32^y32) } f64 := math.Float64frombits(snan64bits)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 12.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/arith_test.go
var y int32 = -2147483648 var z int64 = -9223372036854775808 for i := -5; i < 0; i++ { g8 = w / int8(i) g16 = x / int16(i) g32 = y / int32(i) g64 = z / int64(i) g8 = w % int8(i) g16 = x % int16(i) g32 = y % int32(i) g64 = z % int64(i) } } //go:noinline func divisible_int8_2to1(x int8) bool { return x%(1<<1) == 0 } //go:noinline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:30:59 UTC 2023 - 43.5K bytes - Viewed (0)