Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FLOAT64 (0.13 sec)

  1. doc/go_spec.html

    <pre>
    const (
    	c1 = imag(2i)                    // imag(2i) = 2.0 is a constant
    	c2 = len([10]float64{2})         // [10]float64{2} contains no function calls
    	c3 = len([10]float64{c1})        // [10]float64{c1} contains no function calls
    	c4 = len([10]float64{imag(2i)})  // imag(2i) is a constant and no function call is issued
    	c5 = len([10]float64{imag(z)})   // invalid: imag(z) is a (non-constant) function call
    )
    var z complex128
    </pre>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  2. src/cmd/compile/internal/ssagen/ssa.go

    }
    func (s *state) constInt64(t *types.Type, c int64) *ssa.Value {
    	return s.f.ConstInt64(t, c)
    }
    func (s *state) constFloat32(t *types.Type, c float64) *ssa.Value {
    	return s.f.ConstFloat32(t, c)
    }
    func (s *state) constFloat64(t *types.Type, c float64) *ssa.Value {
    	return s.f.ConstFloat64(t, c)
    }
    func (s *state) constInt(t *types.Type, c int64) *ssa.Value {
    	if s.config.PtrSize == 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewritePPC64.go

    		v0.AddArg(x)
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValuePPC64_OpCvt64Fto64(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Cvt64Fto64 x)
    	// result: (MFVSRD (FCTIDZ x))
    	for {
    		x := v_0
    		v.reset(OpPPC64MFVSRD)
    		v0 := b.NewValue0(v.Pos, OpPPC64FCTIDZ, typ.Float64)
    		v0.AddArg(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  4. src/net/http/h2_bundle.go

    func (z http2sortPriorityNodeSiblings) Less(i, k int) bool {
    	// Prefer the subtree that has sent fewer bytes relative to its weight.
    	// See sections 5.3.2 and 5.3.4.
    	wi, bi := float64(z[i].weight+1), float64(z[i].subtreeBytes)
    	wk, bk := float64(z[k].weight+1), float64(z[k].subtreeBytes)
    	if bi == 0 && bk == 0 {
    		return wi >= wk
    	}
    	if bk == 0 {
    		return false
    	}
    	return bi/bk <= wi/wk
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  5. pkg/apis/core/validation/validation.go

    			if maxRatioFound && minQuantityFound && maxQuantityFound {
    				maxRatioValue := float64(maxRatio.Value())
    				minQuantityValue := minQuantity.Value()
    				maxQuantityValue := maxQuantity.Value()
    				if maxRatio.Value() < resource.MaxMilliValue && minQuantityValue < resource.MaxMilliValue && maxQuantityValue < resource.MaxMilliValue {
    					maxRatioValue = float64(maxRatio.MilliValue()) / 1000
    					minQuantityValue = minQuantity.MilliValue()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    		"status": {},
    	},
    	ExternalDocs: &apiextensions.ExternalDocumentation{
    		Description: "This is an external documentation description",
    	},
    	Example: &example,
    }
    
    func float64Ptr(f float64) *float64 {
    	return &f
    }
    
    func int64Ptr(f int64) *int64 {
    	return &f
    }
    
    func jsonPtr(x interface{}) *apiextensions.JSON {
    	ret := apiextensions.JSON(x)
    	return &ret
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    	// Trace sampling fraction.
    	//
    	// Used to set the fraction of time that traces are sampled. Higher values are more accurate but add CPU overhead.
    	//
    	// Allowed values: 0.0 to 1.0
    	TraceSampling float64 `protobuf:"fixed64,8,opt,name=traceSampling,proto3" json:"traceSampling,omitempty"`
    	// K8s resources settings.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        APInt exponent_bits = op.getExponentBitsAttr().getValue();
        // Truncating to 32-bits is safe, since pasing any number above the dtype
        // size (which is at most 64, for float64) is equivalent to passing the
        // dtype size.
        IntegerAttr new_exponent_attr =
            IntegerAttr::get(int32_type, exponent_bits.truncSSat(32));
        APInt mantissa_bits = op.getMantissaBitsAttr().getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier_test.go

    		actual := computeProbability(num)
    		if actual != expected {
    			t.Errorf("Expected computeProbability(%d) to be %s, got: %s", num, expected, actual)
    		}
    	}
    
    	prevProbability := float64(0)
    	for i := 100000; i > 1; i-- {
    		currProbability, err := strconv.ParseFloat(computeProbability(i), 64)
    		if err != nil {
    			t.Fatalf("Error parsing float probability for %d: %v", i, err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top