Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for IsInf (0.8 sec)

  1. src/math/cmplx/cmath_test.go

    }
    func isExact(x float64) bool {
    	// Special cases that should match exactly.  Other cases are multiples
    	// of Pi that may not be last bit identical on all platforms.
    	return math.IsNaN(x) || math.IsInf(x, 0) || x == 0 || x == 1 || x == -1
    }
    
    func TestAbs(t *testing.T) {
    	for i := 0; i < len(vc); i++ {
    		if f := Abs(vc[i]); !veryclose(abs[i], f) {
    			t.Errorf("Abs(%g) = %g, want %g", vc[i], f, abs[i])
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  2. api/go1.5.txt

    pkg math/big, method (*Float) Format(fmt.State, int32)
    pkg math/big, method (*Float) Int(*Int) (*Int, Accuracy)
    pkg math/big, method (*Float) Int64() (int64, Accuracy)
    pkg math/big, method (*Float) IsInf() bool
    pkg math/big, method (*Float) IsInt() bool
    pkg math/big, method (*Float) MantExp(*Float) int
    pkg math/big, method (*Float) MinPrec() uint
    pkg math/big, method (*Float) Mode() RoundingMode
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

              // Unary
              {"PW",
               {"ComplexAbs", "Angle", "Conj", "Abs", "Acos", "Acosh", "Asin",
                "Atan", "Atanh", "Ceil", "Cos", "Cosh", "Sin", "Exp", "Expm1",
                "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log",
                "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
                "Rsqrt", "Sigmoid", "Sign", "Sinh", "Softplus", "Softsign", "Sqrt",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK: %[[RESULT:.*]] = "tf.Equal"(%[[ABS]], %[[INF]]) <{incompatible_shape_error = true}> : (tensor<3x4xf32>, tensor<f32>) -> tensor<3x4xi1>
      %0 = "tf.IsInf"(%arg0) : (tensor<3x4xf32>) -> tensor<3x4xi1>
      // CHECK: return %[[RESULT]]
      func.return %0 : tensor<3x4xi1>
    }
    
    // CHECK-LABEL: @is_nan
    func.func @is_nan(%arg0: tensor<3x4xf32>) -> tensor<3x4xi1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  5. src/math/all_test.go

    		if f := Gamma(vf[i]); !close(gamma[i], f) {
    			t.Errorf("Gamma(%g) = %g, want %g", vf[i], f, gamma[i])
    		}
    	}
    	for _, g := range vfgamma {
    		f := Gamma(g[0])
    		var ok bool
    		if IsNaN(g[1]) || IsInf(g[1], 0) || g[1] == 0 || f == 0 {
    			ok = alike(g[1], f)
    		} else if g[0] > -50 && g[0] <= 171 {
    			ok = veryclose(g[1], f)
    		} else {
    			ok = close(g[1], f)
    		}
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Float64bits", Func, 0},
    		{"Float64frombits", Func, 0},
    		{"Floor", Func, 0},
    		{"Frexp", Func, 0},
    		{"Gamma", Func, 0},
    		{"Hypot", Func, 0},
    		{"Ilogb", Func, 0},
    		{"Inf", Func, 0},
    		{"IsInf", Func, 0},
    		{"IsNaN", Func, 0},
    		{"J0", Func, 0},
    		{"J1", Func, 0},
    		{"Jn", Func, 0},
    		{"Ldexp", Func, 0},
    		{"Lgamma", Func, 0},
    		{"Ln10", Const, 0},
    		{"Ln2", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      );
    
      TF_DerivedOperandTypeAttr T = TF_DerivedOperandTypeAttr<0>;
    }
    
    def TF_IsInfOp : TF_Op<"IsInf", [Pure, SameOperandsAndResultShape]> {
      let summary = "Returns which elements of x are Inf.";
    
      let description = [{
    @compatibility(numpy)
    Equivalent to np.isinf
    @end_compatibility
    
    Example:
    
    ```python
    x = tf.constant([5.0, np.inf, 6.8, np.inf])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg math, func Frexp(float64) (float64, int)
    pkg math, func Gamma(float64) float64
    pkg math, func Hypot(float64, float64) float64
    pkg math, func Ilogb(float64) int
    pkg math, func Inf(int) float64
    pkg math, func IsInf(float64, int) bool
    pkg math, func IsNaN(float64) bool
    pkg math, func J0(float64) float64
    pkg math, func J1(float64) float64
    pkg math, func Jn(int, float64) float64
    pkg math, func Ldexp(float64, int) float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top