Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 139 for 3xcomplex (0.16 sec)

  1. src/cmd/compile/internal/walk/expr.go

    // walkDivMod walks an ODIV or OMOD node.
    func walkDivMod(n *ir.BinaryExpr, init *ir.Nodes) ir.Node {
    	n.X = walkExpr(n.X, init)
    	n.Y = walkExpr(n.Y, init)
    
    	// rewrite complex div into function call.
    	et := n.X.Type().Kind()
    
    	if types.IsComplex[et] && n.Op() == ir.ODIV {
    		t := n.Type()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. src/encoding/binary/binary.go

    	case reflect.Float64:
    		v.SetFloat(math.Float64frombits(d.uint64()))
    
    	case reflect.Complex64:
    		v.SetComplex(complex(
    			float64(math.Float32frombits(d.uint32())),
    			float64(math.Float32frombits(d.uint32())),
    		))
    	case reflect.Complex128:
    		v.SetComplex(complex(
    			math.Float64frombits(d.uint64()),
    			math.Float64frombits(d.uint64()),
    		))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    // T[P interface{~int; m()}] int the structural restriction of the type
    // parameter P is ~int.
    //
    // With interface embedding and unions, the specification of structural type
    // restrictions may be arbitrarily complex. For example, consider the
    // following:
    //
    //	type A interface{ ~string|~[]byte }
    //
    //	type B interface{ int|string }
    //
    //	type C interface { ~string|~int }
    //
    //	type T[P interface{ A|B; C }] int
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/convert_type.cc

          return tflite::TensorType_COMPLEX64;
        } else if (complex_type.getElementType().isF64()) {
          return tflite::TensorType_COMPLEX128;
        }
        llvm_unreachable("invalid complex Type in conversion");
      } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) {
        switch (itype.getWidth()) {
          case 1:
            return tflite::TensorType_BOOL;
          case 4:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/ops.mlir

    func.func @testMulComplex(tensor<? x complex<f32>>, tensor<? x complex<f32>>) -> tensor<? x complex<f32>> {
    ^bb0(%arg0: tensor<? x complex<f32>>, %arg1: tensor<? x complex<f32>>):
      // CHECK: tfl.mul %arg0, %arg1 {fused_activation_function = "NONE"}
      %0 = tfl.mul %arg0, %arg1 {fused_activation_function = "NONE"}: tensor<? x complex<f32>>
      func.return %0#0 : tensor<? x complex<f32>>
    }
    
    // CHECK-LABEL: testAddWithI64Broadcasting
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//  func f() {
    	//  	var x []int
    	//  	y := []int64{1,2,3}
    	//  	copy(x, y)
    	//  }
    	InvalidCopy
    
    	// InvalidComplex occurs when the complex built-in function is called with
    	// arguments with incompatible types.
    	//
    	// Example:
    	//  var _ = complex(float32(1), float64(2))
    	InvalidComplex
    
    	// InvalidDelete occurs when the delete built-in function is called with a
    	// first argument that is not a map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. pyproject.toml

        "C4",  # flake8-comprehensions
        "UP",  # pyupgrade
    ]
    ignore = [
        "E501",  # line too long, handled by black
        "B008",  # do not perform function calls in argument defaults
        "C901",  # too complex
        "W191",  # indentation contains tabs
    ]
    
    [tool.ruff.lint.per-file-ignores]
    "__init__.py" = ["F401"]
    "docs_src/dependencies/tutorial007.py" = ["F821"]
    "docs_src/dependencies/tutorial008.py" = ["F821"]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    		val = constant.MakeString(r.string())
    
    	case types.IsInteger:
    		var x big.Int
    		r.mpint(&x, b)
    		val = constant.Make(&x)
    
    	case types.IsFloat:
    		val = r.mpfloat(b)
    
    	case types.IsComplex:
    		re := r.mpfloat(b)
    		im := r.mpfloat(b)
    		val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    
    	default:
    		errorf("unexpected type %v", typ) // panics
    		panic("unreachable")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. src/fmt/print.go

    	case reflect.Float32:
    		p.fmtFloat(f.Float(), 32, verb)
    	case reflect.Float64:
    		p.fmtFloat(f.Float(), 64, verb)
    	case reflect.Complex64:
    		p.fmtComplex(f.Complex(), 64, verb)
    	case reflect.Complex128:
    		p.fmtComplex(f.Complex(), 128, verb)
    	case reflect.String:
    		p.fmtString(f.String(), verb)
    	case reflect.Map:
    		if p.fmt.sharpV {
    			p.buf.writeString(f.Type().String())
    			if f.IsNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/staticinit/sched.go

    func truncate(c ir.Node, t *types.Type) (ir.Node, bool) {
    	ct := c.Type()
    	cv := c.Val()
    	if ct.Kind() != t.Kind() {
    		switch {
    		default:
    			// Note: float -> float/integer and complex -> complex are valid but subtle.
    			// For example a float32(float64 1e300) evaluates to +Inf at runtime
    			// and the compiler doesn't have any concept of +Inf, so that would
    			// have to be left for runtime code evaluation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top