Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for max32 (0.04 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/ssa/regalloc.go

    	vi := &s.values[v.ID]
    	if vi.spill != nil {
    		// Final block not known - keep track of subtree where restores reside.
    		vi.restoreMin = min32(vi.restoreMin, s.sdom[b.ID].entry)
    		vi.restoreMax = max32(vi.restoreMax, s.sdom[b.ID].exit)
    		return vi.spill
    	}
    	// Make a spill for v. We don't know where we want
    	// to put it yet, so we leave it blockless for now.
    	spill := s.f.newValueNoBlock(OpStoreReg, v.Type, v.Pos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver_with_skipping.mlir

        %output_0, %min_1, %max_2, %histogram_3 = "tf.CustomAggregator"(%0) <{calibration_method = 1 : i32, id = "keeping_id", max_percentile = 0.000000e+00 : f32, min_percentile = 0.000000e+00 : f32, num_bins = 0 : i32}> : (tensor<10x1x3xf32>) -> (tensor<10x1x3xf32>, tensor<f32>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    	exit
    fi
    
    GOOSARCH_in=syscall_$GOOSARCH.go
    case "$GOOSARCH" in
    _* | *_ | _)
    	echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
    	exit 1
    	;;
    aix_ppc)
    	mkerrors="$mkerrors -maix32"
    	mksyscall="go run mksyscall_aix_ppc.go -aix"
    	mktypes="GOARCH=$GOARCH go tool cgo -godefs"
    	;;
    aix_ppc64)
    	mkerrors="$mkerrors -maix64"
    	mksyscall="go run mksyscall_aix_ppc64.go -aix"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top