Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 80 for 3xcomplex (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/go/constant/value.go

    		return x
    	case complexVal:
    		if Sign(x.im) == 0 {
    			return ToFloat(x.re)
    		}
    	}
    	return unknownVal{}
    }
    
    // ToComplex converts x to a [Complex] value if x is representable as a [Complex].
    // Otherwise it returns an [Unknown].
    func ToComplex(x Value) Value {
    	switch x := x.(type) {
    	case int64Val, intVal, ratVal, floatVal:
    		return vtoc(x)
    	case complexVal:
    		return x
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. doc/go_mem.html

    do exactly this.
    </p>
    
    <p>
    A read of an array, struct, or complex number
    may by implemented as a read of each individual sub-value
    (array element, struct field, or real/imaginary component),
    in any order.
    Similarly, a write of an array, struct, or complex number
    may be implemented as a write of each individual sub-value,
    in any order.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. docs/en/docs/async.md

    But before that, handling asynchronous code was quite more complex and difficult.
    
    In previous versions of Python, you could have used threads or <a href="https://www.gevent.org/" class="external-link" target="_blank">Gevent</a>. But the code is way more complex to understand, debug, and think about.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

    The most common is the implicit flow.
    
    The most secure is the code flow, but is more complex to implement as it requires more steps. As it is more complex, many providers end up suggesting the implicit flow.
    
    !!! note
        It's common that each authentication provider names their flows in a different way, to make it part of their brand.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top