Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 18446744073709551615B (0.23 sec)

  1. src/math/big/int_test.go

    	u := &Int{false, nat{0, 0, 1 + 1<<(_W-1), _M ^ (1 << (_W - 1))}}
    	v := &Int{false, nat{5, 2 + 1<<(_W-1), 1 << (_W - 1)}}
    
    	r := new(Int)
    	q, r := new(Int).QuoRem(u, v, r)
    	const expectedQ64 = "18446744073709551613"
    	const expectedR64 = "3138550867693340382088035895064302439801311770021610913807"
    	const expectedQ32 = "4294967293"
    	const expectedR32 = "39614081266355540837921718287"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    	// integers
    	{"%d", uint(12345), "12345"},
    	{"%d", int(-12345), "-12345"},
    	{"%d", ^uint8(0), "255"},
    	{"%d", ^uint16(0), "65535"},
    	{"%d", ^uint32(0), "4294967295"},
    	{"%d", ^uint64(0), "18446744073709551615"},
    	{"%d", int8(-1 << 7), "-128"},
    	{"%d", int16(-1 << 15), "-32768"},
    	{"%d", int32(-1 << 31), "-2147483648"},
    	{"%d", int64(-1 << 63), "-9223372036854775808"},
    	{"%.d", 0, ""},
    	{"%.0d", 0, ""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  3. src/encoding/json/decode_test.go

    		ptr:      new(map[int64]string),
    		out:      map[int64]string{math.MinInt64: "min", math.MaxInt64: "max"},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"18446744073709551615":"max"}`,
    		ptr:      new(map[uint64]string),
    		out:      map[uint64]string{math.MaxUint64: "max"},
    	},
    	{
    		CaseName: Name(""),
    		in:       `{"0":false,"10":true}`,
    		ptr:      new(map[uintptr]bool),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  4. src/math/big/float_test.go

    		{"12345.0", 12345, Exact},
    		{"12345.000000000000000000001", 12345, Below},
    		{"18446744073709551615", 18446744073709551615, Exact},
    		{"18446744073709551615.000000000000000000001", math.MaxUint64, Below},
    		{"18446744073709551616", math.MaxUint64, Below},
    		{"1e10000", math.MaxUint64, Below},
    		{"+Inf", math.MaxUint64, Below},
    	} {
    		x := makeFloat(test.x)
    		out, acc := x.Uint64()
    		if out != test.out || acc != test.acc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top