Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 89 for 3xcomplex (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        MATCH(DT_BFLOAT16, half);
        MATCH(DT_STRING, string);
    
        // TODO(b/188995810): DenseElementsAttr::get doesn't support complex
        // Attributes being passed, so we bail out for now. This should just be
        //   MATCH(DT_COMPLEX64, scomplex) / 2;
        //   MATCH(DT_COMPLEX128, dcomplex) / 2;
        // when DenseElementsAttr is updated.
        case DT_COMPLEX64:
        case DT_COMPLEX128:
        default:
          return -1;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  2. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\....
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/encoding/gob/dec_helpers.go

    			// This is a slice that we only partially allocated.
    			growSlice(v, &slice, length)
    		}
    		real := float32FromBits(state.decodeUint(), ovfl)
    		imag := float32FromBits(state.decodeUint(), ovfl)
    		slice[i] = complex(float32(real), float32(imag))
    	}
    	return true
    }
    
    func decComplex128Array(state *decoderState, v reflect.Value, length int, ovfl error) bool {
    	// Can only slice if it is addressable.
    	if !v.CanAddr() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 19:28:46 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. src/go/build/constraint/expr.go

    			return false
    		}
    	}
    	return true
    }
    
    var errComplex = errors.New("expression too complex for // +build lines")
    
    // PlusBuildLines returns a sequence of “// +build” lines that evaluate to the build expression x.
    // If the expression is too complex to convert directly to “// +build” lines, PlusBuildLines returns an error.
    func PlusBuildLines(x Expr) ([]string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K 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