Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for INF (0.04 sec)

  1. src/math/big/float_test.go

    	}{
    		// prec 0
    		{"0", 0, "0", Exact},
    		{"-0", 0, "-0", Exact},
    		{"-Inf", 0, "-Inf", Exact},
    		{"+Inf", 0, "+Inf", Exact},
    		{"123", 0, "0", Below},
    		{"-123", 0, "-0", Above},
    
    		// prec at upper limit
    		{"0", MaxPrec, "0", Exact},
    		{"-0", MaxPrec, "-0", Exact},
    		{"-Inf", MaxPrec, "-Inf", Exact},
    		{"+Inf", MaxPrec, "+Inf", Exact},
    
    		// just a few regular cases - general rounding is tested elsewhere
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  2. src/fmt/fmt_test.go

    	// float infinites and NaNs
    	{"%f", posInf, "+Inf"},
    	{"%.1f", negInf, "-Inf"},
    	{"% f", NaN, " NaN"},
    	{"%20f", posInf, "                +Inf"},
    	{"% 20F", posInf, "                 Inf"},
    	{"% 20e", negInf, "                -Inf"},
    	{"% 20x", negInf, "                -Inf"},
    	{"%+20E", negInf, "                -Inf"},
    	{"%+20X", negInf, "                -Inf"},
    	{"% +20g", negInf, "                -Inf"},
    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. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go

    	"github.com/spf13/pflag"
    	inf "gopkg.in/inf.v0"
    
    	cbor "k8s.io/apimachinery/pkg/runtime/serializer/cbor/direct"
    )
    
    var (
    	bigMostPositive = big.NewInt(mostPositive)
    	bigMostNegative = big.NewInt(mostNegative)
    )
    
    func dec(i int64, exponent int) infDecAmount {
    	// See the below test-- scale is the negative of an exponent.
    	return infDecAmount{inf.NewDec(i, inf.Scale(-exponent))}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

                """
            ),
        ] = _Unset,
        allow_inf_nan: Annotated[
            Union[bool, None],
            Doc(
                """
                Allow `inf`, `-inf`, `nan`. Only applicable to numbers.
                """
            ),
        ] = _Unset,
        max_digits: Annotated[
            Union[int, None],
            Doc(
                """
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        Value reflection_denom =
            rewriter.create<LogOp>(loc, sin_pi_mul_reduced_frac_input);
    
        // Avoid computing -inf - inf, which is nan.  If reflection_denom is +/-inf,
        // then it "wins" and the result is +/-inf.
        Value is_finite =
            rewriter.create<IsFiniteOp>(loc, tensor_bool_type, reflection_denom);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  6. cmd/kubelet/app/server.go

    					"If client certificate is invalid or unused, the value will be +INF.",
    				StabilityLevel: metrics.ALPHA,
    			},
    			func() float64 {
    				if c := clientCertificateManager.Current(); c != nil && c.Leaf != nil {
    					return math.Trunc(time.Until(c.Leaf.NotAfter).Seconds())
    				}
    				return math.Inf(1)
    			},
    		))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "std::abs(*$0.cast<DenseElementsAttr>().getValues<float>().begin()) < "
      # n>>;
    
    // Constraint that the attribute value is negative infinity or negative largest.
    // We use both -inf & flt_min due to the forward compatibility.
    def ConstAPFloatNegLargestOrNegInfinity : Constraint<CPred<
      "$0.isa<DenseElementsAttr>() && "
      "$0.cast<DenseElementsAttr>().getNumElements() == 1 && "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/go.sum

    gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
    gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
    gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
    gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
    gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/go.sum

    gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
    gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
    gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
    gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
    gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/lib.go

    		log.Fatalf("error writing captured host obj info %s: %v", ipath, err)
    	}
    
    	readObjData := func() []byte {
    		inf, err := os.Open(h.file)
    		if err != nil {
    			log.Fatalf("capturing host obj: open failed on %s: %v", h.pn, err)
    		}
    		defer inf.Close()
    		res := make([]byte, h.length)
    		if n, err := inf.ReadAt(res, h.off); err != nil || n != int(h.length) {
    			log.Fatalf("capturing host obj: readat failed on %s: %v", h.pn, err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top