Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ffloat32 (0.21 sec)

  1. src/reflect/all_test.go

    	if ovf := V(float32(0)).OverflowFloat(maxFloat32); ovf {
    		t.Errorf("%v wrongly overflows float32", maxFloat32)
    	}
    	ovfFloat32 := float64((1<<24-1)<<(127-23) + 1<<(127-52))
    	if ovf := V(float32(0)).OverflowFloat(ovfFloat32); !ovf {
    		t.Errorf("%v should overflow float32", ovfFloat32)
    	}
    	if ovf := V(float32(0)).OverflowFloat(-ovfFloat32); !ovf {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            bias = array_ops.constant(
                np.random.uniform(size=[shapes[1][-1]]), dtype=dtypes.float32
            )
        model = MatmulModel(bias)
        x = array_ops.constant(
            np.random.uniform(size=x_shape), dtype=dtypes.float32
        )
        y = array_ops.constant(
            np.random.uniform(size=y_shape), dtype=dtypes.float32
        )
        if use_kernel:
          model.matmul = model.matmul_with_kernel
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. src/reflect/value.go

    func (v Value) CanFloat() bool {
    	switch v.kind() {
    	case Float32, Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    // Float returns v's underlying value, as a float64.
    // It panics if v's Kind is not [Float32] or [Float64]
    func (v Value) Float() float64 {
    	k := v.kind()
    	switch k {
    	case Float32:
    		return float64(*(*float32)(v.ptr))
    	case Float64:
    		return *(*float64)(v.ptr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    		// MOVSxconst: floatint-point constants
    		// x==S for float32, x==D for float64
    		{name: "MOVSSconst", reg: fp01, asm: "MOVSS", aux: "Float32", rematerializeable: true},
    		{name: "MOVSDconst", reg: fp01, asm: "MOVSD", aux: "Float64", rematerializeable: true},
    
    		// MOVSxloadidx: floating-point indexed loads
    		// x==S for float32, x==D for float64
    		// load from arg0 + scale*arg1+auxint+aux, arg2 = mem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  5. doc/go1.17_spec.html

    2.718281828459045   float32     2.718281828459045 rounds to 2.7182817 which is in the set of float32 values
    -1e-1000            float64     -1e-1000 rounds to IEEE -0.0 which is further simplified to 0.0
    0i                  int         0 is an integer value
    (42 + 0i)           float32     42.0 (with zero imaginary part) is in the set of float32 values
    </pre>
    
    <pre>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  6. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    }
    
    func newNodeLifecycleControllerFromClient(
    	ctx context.Context,
    	kubeClient clientset.Interface,
    	evictionLimiterQPS float32,
    	secondaryEvictionLimiterQPS float32,
    	largeClusterThreshold int32,
    	unhealthyZoneThreshold float32,
    	nodeMonitorGracePeriod time.Duration,
    	nodeStartupGracePeriod time.Duration,
    	nodeMonitorPeriod time.Duration,
    ) (*nodeLifecycleController, error) {
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    			ExpectedResult: `{"int64":9223372036854775807,"name":"newname"}`,
    		},
    		"float32 max": {
    			Old:            `{"float32":3.4028234663852886e+38}`,
    			New:            `{"float32":3.4028234663852886e+38,"name":"newname"}`,
    			ExpectedPatch:  `{"name":"newname"}`,
    			ExpectedResult: `{"float32":3.4028234663852886e+38,"name":"newname"}`,
    		},
    		"float64 max": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Trunc64to32 (Const64  [c])) => (Const32  [int32(c)])
    (Cvt64Fto32F (Const64F [c])) => (Const32F [float32(c)])
    (Cvt32Fto64F (Const32F [c])) => (Const64F [float64(c)])
    (Cvt32to32F  (Const32  [c])) => (Const32F [float32(c)])
    (Cvt32to64F  (Const32  [c])) => (Const64F [float64(c)])
    (Cvt64to32F  (Const64  [c])) => (Const32F [float32(c)])
    (Cvt64to64F  (Const64  [c])) => (Const64F [float64(c)])
    (Cvt32Fto32  (Const32F [c])) => (Const32  [int32(c)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/helpers_test.go

    		}
    	}
    }
    
    func TestParsePercentage(t *testing.T) {
    	testCases := map[string]struct {
    		hasError bool
    		value    float32
    	}{
    		"blah": {
    			hasError: true,
    		},
    		"25.5%": {
    			value: 0.255,
    		},
    		"foo%": {
    			hasError: true,
    		},
    		"12%345": {
    			hasError: true,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    		kubelet.podLogsDirectory,
    		kubelet.machineInfo,
    		kubelet.podWorkers,
    		kubelet.os,
    		kubelet,
    		nil,
    		kubelet.backOff,
    		kubeCfg.SerializeImagePulls,
    		kubeCfg.MaxParallelImagePulls,
    		float32(kubeCfg.RegistryPullQPS),
    		int(kubeCfg.RegistryBurst),
    		"",
    		"",
    		kubeCfg.CPUCFSQuota,
    		kubeCfg.CPUCFSQuotaPeriod,
    		runtimeSvc,
    		imageSvc,
    		kubelet.containerManager,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top