- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for two64ur (0.18 sec)
-
src/cmd/compile/internal/test/shift_test.go
return x >> 1 >> 1 } //go:noinline func two8ur(x uint8) uint8 { return x >> 1 >> 1 } func TestShiftCombine(t *testing.T) { if got, want := two64l(4), int64(16); want != got { t.Errorf("4<<1<<1 == %d, want %d", got, want) } if got, want := two64r(64), int64(16); want != got { t.Errorf("64>>1>>1 == %d, want %d", got, want) } if got, want := two64ur(64), uint64(16); want != got {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 22:26:39 UTC 2023 - 25.6K bytes - Viewed (0) -
test/float_lit2.go
{0x7f7fffff, float32(max32), float32(max32 - ulp32 + ulp32/2 + ulp32/two64), "max32 - ulp32 + ulp32/2 + ulp32/two64"}, {0x7f7fffff, float32(max32), float32(max32 - ulp32/2 + ulp32/two64), "max32 - ulp32/2 + ulp32/two64"}, {0x7f7fffff, float32(max32), float32(max32), "max32"}, {0x7f7fffff, float32(max32), float32(max32 + ulp32/2 - ulp32/two64), "max32 + ulp32/2 - ulp32/two64"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 14 16:39:47 UTC 2016 - 7.9K bytes - Viewed (0) -
test/float_lit3.go
// license that can be found in the LICENSE file. package main // See float_lit2.go for motivation for these values. const ( two24 = 1.0 * (1 << 24) two53 = 1.0 * (1 << 53) two64 = 1.0 * (1 << 64) two128 = two64 * two64 two256 = two128 * two128 two512 = two256 * two256 two768 = two512 * two256 two1024 = two512 * two512 ulp32 = two128 / two24 max32 = two128 - ulp32 ulp64 = two1024 / two53
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 03 16:24:32 UTC 2021 - 1.7K bytes - Viewed (0)