Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for Complex64 (0.48 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		{`package c3c; type T float32; var _ = T(0.)`, `T(0.)`, `c3c.T`, `0`},
    
    		{`package c4a; var _ = complex64(0i)`, `0i`, `complex64`, `(0 + 0i)`},
    		{`package c4b; var _ = complex64(0i)`, `complex64(0i)`, `complex64`, `(0 + 0i)`},
    		{`package c4c; type T complex64; var _ = T(0i)`, `T(0i)`, `c4c.T`, `(0 + 0i)`},
    
    		{`package c5a; var _ = string("foo")`, `"foo"`, `string`, `"foo"`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/reflect/value.go

    	switch v.kind() {
    	case Complex64, Complex128:
    		return true
    	default:
    		return false
    	}
    }
    
    // Complex returns v's underlying value, as a complex128.
    // It panics if v's Kind is not [Complex64] or [Complex128]
    func (v Value) Complex() complex128 {
    	k := v.kind()
    	switch k {
    	case Complex64:
    		return complex128(*(*complex64)(v.ptr))
    	case Complex128:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    func.func @complex64() -> tensor<4xcomplex<f32>> {
      // CHECK-LABEL: @complex64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/support.go

    	types.Typ[types.Uint8],
    	types.Typ[types.Uint16],
    	types.Typ[types.Uint32],
    	types.Typ[types.Uint64],
    	types.Typ[types.Uintptr],
    	types.Typ[types.Float32],
    	types.Typ[types.Float64],
    	types.Typ[types.Complex64],
    	types.Typ[types.Complex128],
    	types.Typ[types.String],
    
    	// basic type aliases
    	types.Universe.Lookup("byte").Type(),
    	types.Universe.Lookup("rune").Type(),
    
    	// error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/encoding/binary/binary.go

    // sequences and encoding and decoding of varints.
    //
    // Numbers are translated by reading and writing fixed-size values.
    // A fixed-size value is either a fixed-size arithmetic
    // type (bool, int8, uint8, int16, float32, complex64, ...)
    // or an array or struct containing only fixed-size values.
    //
    // The varint functions encode and decode single integer values using
    // a variable-length encoding; smaller values require fewer bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/internal/fmtsort/sort.go

    		return cmp.Compare(aVal.Uint(), bVal.Uint())
    	case reflect.String:
    		return cmp.Compare(aVal.String(), bVal.String())
    	case reflect.Float32, reflect.Float64:
    		return cmp.Compare(aVal.Float(), bVal.Float())
    	case reflect.Complex64, reflect.Complex128:
    		a, b := aVal.Complex(), bVal.Complex()
    		if c := cmp.Compare(real(a), real(b)); c != 0 {
    			return c
    		}
    		return cmp.Compare(imag(a), imag(b))
    	case reflect.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/cmd/internal/goobj/builtinlist.go

    	{"type:*int64", 0},
    	{"type:uint64", 0},
    	{"type:*uint64", 0},
    	{"type:float32", 0},
    	{"type:*float32", 0},
    	{"type:float64", 0},
    	{"type:*float64", 0},
    	{"type:complex64", 0},
    	{"type:*complex64", 0},
    	{"type:complex128", 0},
    	{"type:*complex128", 0},
    	{"type:unsafe.Pointer", 0},
    	{"type:*unsafe.Pointer", 0},
    	{"type:uintptr", 0},
    	{"type:*uintptr", 0},
    	{"type:bool", 0},
    	{"type:*bool", 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. src/internal/abi/type.go

    	Uint8:         "uint8",
    	Uint16:        "uint16",
    	Uint32:        "uint32",
    	Uint64:        "uint64",
    	Uintptr:       "uintptr",
    	Float32:       "float32",
    	Float64:       "float64",
    	Complex64:     "complex64",
    	Complex128:    "complex128",
    	Array:         "array",
    	Chan:          "chan",
    	Func:          "func",
    	Interface:     "interface",
    	Map:           "map",
    	Pointer:       "ptr",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. src/encoding/gob/type.go

    		return tUint.gobType(), nil
    
    	case reflect.Float32, reflect.Float64:
    		return tFloat.gobType(), nil
    
    	case reflect.Complex64, reflect.Complex128:
    		return tComplex.gobType(), nil
    
    	case reflect.String:
    		return tString.gobType(), nil
    
    	case reflect.Interface:
    		return tInterface.gobType(), nil
    
    	case reflect.Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. src/internal/fmtsort/sort_test.go

    	ct(reflect.TypeOf(float32(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(float64(0)), math.NaN(), math.Inf(-1), -1e10, 0, 1e10, math.Inf(1)),
    	ct(reflect.TypeOf(complex64(0+1i)), -1-1i, -1+0i, -1+1i, 0-1i, 0+0i, 0+1i, 1-1i, 1+0i, 1+1i),
    	ct(reflect.TypeOf(complex128(0+1i)), -1-1i, -1+0i, -1+1i, 0-1i, 0+0i, 0+1i, 1-1i, 1+0i, 1+1i),
    	ct(reflect.TypeOf(false), false, true),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top