Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for umax32 (0.49 sec)

  1. src/math/big/float.go

    	// TODO(gri) can be more efficient if z.prec > 0
    	// but small compared to the size of x, or if there
    	// are many trailing 0's.
    	bits := uint32(x.BitLen())
    	if z.prec == 0 {
    		z.prec = umax32(bits, 64)
    	}
    	z.acc = Exact
    	z.neg = x.neg
    	if len(x.abs) == 0 {
    		z.form = zero
    		return z
    	}
    	// x != 0
    	z.mant = z.mant.set(x.abs)
    	fnorm(z.mant)
    	z.setExpAndRound(int64(bits), 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/gen/cmpConstGen.go

    	values := []*big.Int{
    		// limits
    		Uint(maxU64),
    		Uint(maxU64 - 1),
    		Uint(maxI64 + 1),
    		Uint(maxI64),
    		Uint(maxI64 - 1),
    		Uint(maxU32 + 1),
    		Uint(maxU32),
    		Uint(maxU32 - 1),
    		Uint(maxI32 + 1),
    		Uint(maxI32),
    		Uint(maxI32 - 1),
    		Uint(maxU16 + 1),
    		Uint(maxU16),
    		Uint(maxU16 - 1),
    		Uint(maxI16 + 1),
    		Uint(maxI16),
    		Uint(maxI16 - 1),
    		Uint(maxU8 + 1),
    		Uint(maxU8),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/testdata/arith_test.go

    		nineteenU + 1, 2*nineteenU - 5, 3*nineteenU + 3, 5*nineteenU + 4, 12345*nineteenU - 2,
    		maxU32, maxU32 - 1, maxU32 - 2, maxU32 - 3, maxU32 - 4,
    		maxU32 - 5, maxU32 - 6, maxU32 - 7, maxU32 - 8,
    		maxU32 - 9, maxU32 - 10, maxU32 - 11, maxU32 - 12,
    		maxU32 - 13, maxU32 - 14, maxU32 - 15, maxU32 - 16,
    		maxU32 - 17, maxU32 - 18, maxU32 - 19, maxU32 - 20,
    		maxU64, maxU64 - 1, maxU64 - 2, maxU64 - 3, maxU64 - 4,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:30:59 UTC 2023
    - 43.5K bytes
    - Viewed (0)
  4. test/float_lit2.go

    	{0x7f7ffffe, float32(max32 - ulp32), float32(max32 - ulp32 + ulp32/2), "max32 - ulp32 + ulp32/2"},
    	{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"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:39:47 UTC 2016
    - 7.9K bytes
    - Viewed (0)
  5. test/float_lit3.go

    	ulp32 = two128 / two24
    	max32 = two128 - ulp32
    
    	ulp64 = two1024 / two53
    	max64 = two1024 - ulp64
    )
    
    var x = []interface{}{
    	float32(max32 + ulp32/2 - 1),             // ok
    	float32(max32 + ulp32/2 - two128/two256), // ok
    	float32(max32 + ulp32/2),                 // ERROR "constant 3\.40282e\+38 overflows float32|cannot convert.*to type float32"
    
    	float32(-max32 - ulp32/2 + 1),             // ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 03 16:24:32 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. src/runtime/hash32.go

    	a, b := mix32(uint32(seed), uint32(4^hashkey[0]))
    	t := readUnaligned32(p)
    	a ^= t
    	b ^= t
    	a, b = mix32(a, b)
    	a, b = mix32(a, b)
    	return uintptr(a ^ b)
    }
    
    func memhash64Fallback(p unsafe.Pointer, seed uintptr) uintptr {
    	a, b := mix32(uint32(seed), uint32(8^hashkey[0]))
    	a ^= readUnaligned32(p)
    	b ^= readUnaligned32(add(p, 4))
    	a, b = mix32(a, b)
    	a, b = mix32(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. src/runtime/minmax.go

    }
    
    func strmax(x, y string) string {
    	if y > x {
    		return y
    	}
    	return x
    }
    
    func fmin32(x, y float32) float32 { return fmin(x, y) }
    func fmin64(x, y float64) float64 { return fmin(x, y) }
    func fmax32(x, y float32) float32 { return fmax(x, y) }
    func fmax64(x, y float64) float64 { return fmax(x, y) }
    
    type floaty interface{ ~float32 | ~float64 }
    
    func fmin[F floaty](x, y F) F {
    	if y != y || y < x {
    		return y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 18:15:22 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/conv_wasm_test.go

    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      -0x7ffffffffffffdfe,
    			convInt64:  -0x7ffffffffffffc00,
    			convUInt64: 0x8000000000000000,
    		},
    		// umax +- 1
    		{
    			input:      0xffffffffffffffff,
    			convInt64:  -0x8000000000000000,
    			convUInt64: 0x8000000000000000,
    		},
    		{
    			input:      0x10000000000000000,
    			convInt64:  -0x8000000000000000,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 06 13:55:00 UTC 2020
    - 3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/tables.go

    	UBFIZ:     "UBFIZ",
    	UBFM:      "UBFM",
    	UBFX:      "UBFX",
    	UCVTF:     "UCVTF",
    	UDIV:      "UDIV",
    	UHADD:     "UHADD",
    	UHSUB:     "UHSUB",
    	UMADDL:    "UMADDL",
    	UMAX:      "UMAX",
    	UMAXP:     "UMAXP",
    	UMAXV:     "UMAXV",
    	UMIN:      "UMIN",
    	UMINP:     "UMINP",
    	UMINV:     "UMINV",
    	UMLAL:     "UMLAL",
    	UMLAL2:    "UMLAL2",
    	UMLSL:     "UMLSL",
    	UMLSL2:    "UMLSL2",
    	UMNEGL:    "UMNEGL",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 211.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/prove.go

    	}
    	if l.max > l2.max {
    		l.max = l2.max
    	}
    	if l.umax > l2.umax {
    		l.umax = l2.umax
    	}
    	return l
    }
    
    var noLimit = limit{math.MinInt64, math.MaxInt64, 0, math.MaxUint64}
    
    // a limitFact is a limit known for a particular value.
    type limitFact struct {
    	vid   ID
    	limit limit
    }
    
    // factsTable keeps track of relations between pairs of values.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top