Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for 9223372036854775809B (0.53 sec)

  1. src/runtime/string_test.go

    	{"-20496382327982653440", 0, false},
    	{"9223372036854775807", 1<<63 - 1, true},
    	{"-9223372036854775807", -(1<<63 - 1), true},
    	{"9223372036854775808", 0, false},
    	{"-9223372036854775808", -1 << 63, true},
    	{"9223372036854775809", 0, false},
    	{"-9223372036854775809", 0, false},
    }
    
    func TestAtoi(t *testing.T) {
    	switch intSize {
    	case 32:
    		for i := range atoi32tests {
    			test := &atoi32tests[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/arithBoundary_test.go

    	itd64{a: -9223372036854775807, b: -1, add: -9223372036854775808, sub: -9223372036854775806, mul: 9223372036854775807, div: 9223372036854775807, mod: 0},
    	itd64{a: -9223372036854775807, b: 0, add: -9223372036854775807, sub: -9223372036854775807, mul: 0},
    	itd64{a: -9223372036854775807, b: 1, add: -9223372036854775806, sub: -9223372036854775808, mul: -9223372036854775807, div: -9223372036854775807, mod: 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)
  3. src/cmd/compile/internal/test/testdata/arithConst_test.go

    	test_uint64{fn: and_uint64_9223372036854775808, fnname: "and_uint64_9223372036854775808", in: 9223372036854775808, want: 9223372036854775808},
    	test_uint64{fn: and_9223372036854775808_uint64, fnname: "and_9223372036854775808_uint64", in: 18446744073709551615, want: 9223372036854775808},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 633.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/constFold_test.go

    	}
    	y = 9223372036854775806
    	r = x + y
    	if r != 9223372036854775805 {
    		t.Errorf("-1 %s 9223372036854775806 = %d, want 9223372036854775805", "+", r)
    	}
    	y = 9223372036854775807
    	r = x + y
    	if r != 9223372036854775806 {
    		t.Errorf("-1 %s 9223372036854775807 = %d, want 9223372036854775806", "+", r)
    	}
    	x = 0
    	y = -9223372036854775808
    	r = x + y
    	if r != -9223372036854775808 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 323K bytes
    - Viewed (0)
  5. test/fixedbugs/issue53600.out

    9223372036854775807 false
    done
    9223372036854775806 false
    9223372036854775807 false
    done
    9223372036854775805 false
    9223372036854775807 false
    done
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 06 17:00:37 UTC 2022
    - 165 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/json/json_test.go

    			Out:  `-2147483648`,
    		},
    		{
    			In:   `9223372036854775807`,
    			Data: int64(math.MaxInt64),
    			Out:  `9223372036854775807`,
    		},
    		{
    			In:   `-9223372036854775808`,
    			Data: int64(math.MinInt64),
    			Out:  `-9223372036854775808`,
    		},
    
    		// Int overflow
    		{
    			In:   `9223372036854775808`, // MaxInt64 + 1
    			Data: float64(9223372036854775808),
    			Out:  `9223372036854776000`,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 28 08:02:09 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  7. api/go1.17.txt

    pkg math (darwin-amd64), const MaxInt = 9223372036854775807
    pkg math (darwin-amd64), const MaxUint = 18446744073709551615
    pkg math (darwin-amd64), const MinInt = -9223372036854775808
    pkg math (darwin-amd64-cgo), const MaxInt = 9223372036854775807
    pkg math (darwin-amd64-cgo), const MaxUint = 18446744073709551615
    pkg math (darwin-amd64-cgo), const MinInt = -9223372036854775808
    pkg math (darwin-arm64), const MaxInt = 9223372036854775807
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr_test.go

    		},
    		{
    			input:  "9223372036854775807", // math.MaxInt64
    			output: IntOrString{Type: String, StrVal: "9223372036854775807"},
    		},
    		{
    			input:  "-9223372036854775808", // math.MinInt64
    			output: IntOrString{Type: String, StrVal: "-9223372036854775808"},
    		},
    		{
    			input:  "9223372036854775808", // math.MaxInt64+1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/testdata/cmpConst_test.go

    func lt_9223372036854775807_uint64(x uint64) bool  { return x < 9223372036854775807 }
    func le_9223372036854775807_uint64(x uint64) bool  { return x <= 9223372036854775807 }
    func gt_9223372036854775807_uint64(x uint64) bool  { return x > 9223372036854775807 }
    func ge_9223372036854775807_uint64(x uint64) bool  { return x >= 9223372036854775807 }
    func eq_9223372036854775807_uint64(x uint64) bool  { return x == 9223372036854775807 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 103.1K bytes
    - Viewed (0)
  10. src/math/rand/v2/regress_test.go

    	int64(183731176326946086),  // Int64N(1000000000000000000)
    	int64(680987186633600239),  // Int64N(1152921504606846976)
    	int64(4102454148908803108), // Int64N(9223372036854775806)
    	int64(8679174511200971228), // Int64N(9223372036854775807)
    	int64(0),                   // Int64N(1)
    	int64(3),                   // Int64N(10)
    	int64(27),                  // Int64N(32)
    	int64(665831),              // Int64N(1048576)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top