- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for 1b7fffffffffffffff (0.34 sec)
-
src/cmd/compile/internal/test/math_test.go
q = (int64(0x7fffffffffffffff) - int64(i) - (q & 1)) / -int64(i) } Output = int(q) } func BenchmarkDiv64NegDividend(b *testing.B) { q := int64(-1) for i := 1; i <= b.N; i++ { q = -(int64(0x7fffffffffffffff) - int64(i) - (q & 1)) / int64(i) } Output = int(q) } func BenchmarkDiv64NegBoth(b *testing.B) { q := int64(-1) for i := 1; i <= b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 3.4K bytes - Viewed (0) -
test/fixedbugs/issue27143.go
// Issue 27143: cmd/compile: erroneous application of walkinrange // optimization for const over 2**63 package p var c uint64 var b1 bool = 0x7fffffffffffffff < c && c < 0x8000000000000000 var b2 bool = c < 0x8000000000000000 && 0x7fffffffffffffff < c var b3 bool = 0x8000000000000000 < c && c < 0x8000000000000001
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Aug 26 21:52:27 UTC 2018 - 553 bytes - Viewed (0) -
src/runtime/conv_wasm_test.go
var ures uint64 func TestFloatTruncation(t *testing.T) { testdata := []struct { input float64 convInt64 int64 convUInt64 uint64 overflow bool }{ // max +- 1 { input: 0x7fffffffffffffff, convInt64: -0x8000000000000000, convUInt64: 0x8000000000000000, }, // For out-of-bounds conversion, the result is implementation-dependent. // This test verifies the implementation of wasm architecture.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 06 13:55:00 UTC 2020 - 3K bytes - Viewed (0) -
src/runtime/sys_wasm.s
TEXT runtime·wasmTruncS(SB), NOSPLIT, $0-0 Get R0 Get R0 F64Ne // NaN If I64Const $0x8000000000000000 Return End Get R0 F64Const $0x7ffffffffffffc00p0 // Maximum truncated representation of 0x7fffffffffffffff F64Gt If I64Const $0x8000000000000000 Return End Get R0 F64Const $-0x7ffffffffffffc00p0 // Minimum truncated representation of -0x8000000000000000 F64Lt If
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 1.4K bytes - Viewed (0) -
src/io/fs/format_test.go
isDir: true, }, "drwxr-xr-x 0 1970-01-01 12:00:00 home/gopher/", "d home/gopher/", }, { formatTest{ name: "big", size: 0x7fffffffffffffff, mode: ModeIrregular | 0o644, modTime: time.Date(1970, time.January, 1, 12, 0, 0, 0, time.UTC), isDir: false, }, "?rw-r--r-- 9223372036854775807 1970-01-01 12:00:00 big", "? big", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 17:59:28 UTC 2023 - 2.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
var szs = []sizedTestData{ sizedTestData{name: "uint64", sn: "64", u: []uint64{0, 1, 4294967296, 0xffffFFFFffffFFFF}}, sizedTestData{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF, -4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}}, sizedTestData{name: "uint32", sn: "32", u: []uint64{0, 1, 4294967295}}, sizedTestData{name: "int32", sn: "32", i: []int64{-0x80000000, -0x7FFFFFFF, -1, 0, 1, 0x7FFFFFFF}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/arithConstGen.go
{name: "uint64", sn: "64", u: []uint64{3, 5, 7, 9, 10, 11, 13, 19, 21, 25, 27, 37, 41, 45, 73, 81}, oponly: "mul"}, {name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF, -4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}}, {name: "int64", sn: "64", i: []int64{-9, -5, -3, 3, 5, 7, 9, 10, 11, 13, 19, 21, 25, 27, 37, 41, 45, 73, 81}, oponly: "mul"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.3K bytes - Viewed (0) -
src/strconv/itoa_test.go
{1 << 15, 2, "1000000000000000"}, {-8, 8, "-10"}, {057635436545, 8, "57635436545"}, {1 << 24, 8, "100000000"}, {16, 16, "10"}, {-0x123456789abcdef, 16, "-123456789abcdef"}, {1<<63 - 1, 16, "7fffffffffffffff"}, {1<<63 - 1, 2, "111111111111111111111111111111111111111111111111111111111111111"}, {-1 << 63, 2, "-1000000000000000000000000000000000000000000000000000000000000000"}, {16, 17, "g"}, {25, 25, "10"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 15 21:09:39 UTC 2022 - 5.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/constFoldGen.go
} var szs []szD = []szD{ szD{name: "uint64", sn: "64", u: []uint64{0, 1, 4294967296, 0xffffFFFFffffFFFF}}, szD{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF, -4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}}, szD{name: "uint32", sn: "32", u: []uint64{0, 1, 4294967295}}, szD{name: "int32", sn: "32", i: []int64{-0x80000000, -0x7FFFFFFF, -1, 0, 1, 0x7FFFFFFF}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.4K bytes - Viewed (0) -
src/math/bits/example_math_test.go
d0, _ := bits.Sub64(n1[0], n2[0], carry) nsum := []uint64{d0, d1} fmt.Printf("%v - %v = %v (carry bit was %v)\n", n1, n2, nsum, carry) // First number is 3<<64 + 9223372036854775807 n1 = []uint64{3, 0x7fffffffffffffff} // Second number is 1<<64 + 9223372036854775808 n2 = []uint64{1, 0x8000000000000000} // Sub them together producing carry. d1, carry = bits.Sub64(n1[1], n2[1], 0) d0, _ = bits.Sub64(n1[0], n2[0], carry)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 21:27:05 UTC 2021 - 6.3K bytes - Viewed (0)