Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for 0x8000000000000000 (0.18 sec)

  1. test/fixedbugs/issue27143.go

    // 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)
  2. src/runtime/conv_wasm_test.go

    			convUInt64: 0x8000000000000000,
    		},
    		// neg max +- 1
    		{
    			input:      -0x8000000000000000,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      -0x8000000000000001,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      -0x7fffffffffffffff,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 06 13:55:00 UTC 2020
    - 3K bytes
    - Viewed (0)
  3. src/runtime/sys_wasm.s

    TEXT runtime·wasmDiv(SB), NOSPLIT, $0-0
    	Get R0
    	I64Const $-0x8000000000000000
    	I64Eq
    	If
    		Get R1
    		I64Const $-1
    		I64Eq
    		If
    			I64Const $-0x8000000000000000
    			Return
    		End
    	End
    	Get R0
    	Get R1
    	I64DivS
    	Return
    
    TEXT runtime·wasmTruncS(SB), NOSPLIT, $0-0
    	Get R0
    	Get R0
    	F64Ne // NaN
    	If
    		I64Const $0x8000000000000000
    		Return
    	End
    
    	Get R0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 06 17:48:24 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/math/bits/example_math_test.go

    	nsum := []uint64{d0, d1}
    	fmt.Printf("%v + %v = %v (carry bit was %v)\n", n1, n2, nsum, carry)
    
    	// First number is 1<<64 + 9223372036854775808
    	n1 = []uint64{1, 0x8000000000000000}
    	// Second number is 1<<64 + 9223372036854775808
    	n2 = []uint64{1, 0x8000000000000000}
    	// Add them together producing carry.
    	d1, carry = bits.Add64(n1[1], n2[1], 0)
    	d0, _ = bits.Add64(n1[0], n2[0], carry)
    	nsum = []uint64{d0, d1}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 21:27:05 UTC 2021
    - 6.3K bytes
    - Viewed (0)
  5. src/math/big/nat_test.go

    	{"2", "1", "1", "0"},
    	{"2", "2", "1", "0"},
    	{"10", "100000000000", "1", "0"},
    	{"0x8000000000000000", "2", "", "0x40000000000000000000000000000000"},
    	{"0x8000000000000000", "2", "6719", "4944"},
    	{"0x8000000000000000", "3", "6719", "5447"},
    	{"0x8000000000000000", "1000", "6719", "1603"},
    	{"0x8000000000000000", "1000000", "6719", "3199"},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. test/fixedbugs/bug434.go

    	x := -zero
    	b := math.Float64bits(x)
    	if b != 0 {
    		panic(b)
    	}
    	x = -float64(zero)
    	b = math.Float64bits(x)
    	if b != 0 {
    		panic(b)
    	}
    	v := x
    	b = math.Float64bits(-v)
    	if b != 0x8000000000000000 {
    		panic(b)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 23 22:47:34 UTC 2012
    - 565 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/dev_aix_ppc64.go

    }
    
    // Mkdev returns a Linux device number generated from the given major and minor
    // components.
    func Mkdev(major, minor uint32) uint64 {
    	var DEVNO64 uint64
    	DEVNO64 = 0x8000000000000000
    	return ((uint64(major) << 32) | (uint64(minor) & 0x00000000FFFFFFFF) | DEVNO64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 858 bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/softfloat.go

    				case OpNeg64F:
    					arg0 := v.Args[0]
    					v.reset(OpXor64)
    					v.Type = f.Config.Types.UInt64
    					v.AddArg(arg0)
    					mask := v.Block.NewValue0(v.Pos, OpConst64, v.Type)
    					mask.AuxInt = -0x8000000000000000
    					v.AddArg(mask)
    				case OpRound32F:
    					v.Op = OpCopy
    					v.Type = f.Config.Types.UInt32
    				case OpRound64F:
    					v.Op = OpCopy
    					v.Type = f.Config.Types.UInt64
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 16:14:24 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. src/io/fs/format_test.go

    			isDir:   false,
    		},
    		"?rw-r--r-- 9223372036854775807 1970-01-01 12:00:00 big",
    		"? big",
    	},
    	{
    		formatTest{
    			name:    "small",
    			size:    -0x8000000000000000,
    			mode:    ModeSocket | ModeSetuid | 0o644,
    			modTime: time.Date(1970, time.January, 1, 12, 0, 0, 0, time.UTC),
    			isDir:   false,
    		},
    		"Surw-r--r-- -9223372036854775808 1970-01-01 12:00:00 small",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 17:59:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/math/big/int_test.go

    	{"-2", "3", "2", "0"},
    	{"5", "2", "", "25"},
    	{"1", "65537", "2", "1"},
    	{"0x8000000000000000", "2", "", "0x40000000000000000000000000000000"},
    	{"0x8000000000000000", "2", "6719", "4944"},
    	{"0x8000000000000000", "3", "6719", "5447"},
    	{"0x8000000000000000", "1000", "6719", "1603"},
    	{"0x8000000000000000", "1000000", "6719", "3199"},
    	{"0x8000000000000000", "-1000000", "6719", "3663"}, // 3663 = ModInverse(3199, 6719) Issue #25865
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
Back to top