Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for fComplex128 (0.3 sec)

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

    		{`package e5; const _ = complex64(-1e-200)`, `complex64(-1e-200)`, `complex64`, `(0 + 0i)`},
    		{`package e6; const _ = complex128( 1e-2000)`, `complex128(1e-2000)`, `complex128`, `(0 + 0i)`},
    		{`package e7; const _ = complex128(-1e-2000)`, `complex128(-1e-2000)`, `complex128`, `(0 + 0i)`},
    
    		{`package f0 ; var _ float32 =  1e-200`, `1e-200`, `float32`, `0`},
    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. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir

      func.return %0 : tensor<4xcomplex<f32>>
    }
    
    func.func @complex128() -> tensor<4xcomplex<f64>> {
      // CHECK-LABEL: @complex128
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/runtime/alg.go

    	return *(*float64)(p) == *(*float64)(q)
    }
    func c64equal(p, q unsafe.Pointer) bool {
    	return *(*complex64)(p) == *(*complex64)(q)
    }
    func c128equal(p, q unsafe.Pointer) bool {
    	return *(*complex128)(p) == *(*complex128)(q)
    }
    func strequal(p, q unsafe.Pointer) bool {
    	return *(*string)(p) == *(*string)(q)
    }
    func interequal(p, q unsafe.Pointer) bool {
    	x := *(*iface)(p)
    	y := *(*iface)(q)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. 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:
    		return *(*complex128)(v.ptr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  5. src/internal/fmtsort/sort_test.go

    	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),
    	ct(reflect.TypeOf(&ints[0]), &ints[0], &ints[1], &ints[2]),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/stmt0.go

    	var i string
    	_ = i
    	for i := 0; i < 10; i++ {}
    	for i := 0; i < 10; j /* ERROR "cannot declare" */ := 0 {}
    }
    
    func rangeloops1() {
    	var (
    		a [10]float32
    		b []string
    		p *[10]complex128
    		pp **[10]complex128
    		s string
    		m map[int]bool
    		c chan int
    		sc chan<- int
    		rc <-chan int
    		xs struct{}
    	)
    
    	for range xs /* ERROR "cannot range over" */ {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      func.return %0 : tensor<4xcomplex<f32>>
    }
    
    func.func @complex128() -> tensor<4xcomplex<f64>> {
      // CHECK-LABEL: @complex128
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/decls0.go

    	// we believe an integer that is too large is not an integer.
    	// But at least we get an error.
    	iA1 [1 /* ERROR "invalid array length" */ <<100]int
    	iA2 [- /* ERROR "invalid array length" */ 1]complex128
    	iA3 ["foo" /* ERROR "must be integer" */ ]string
    	iA4 [float64 /* ERROR "must be integer" */ (0)]int
    )
    
    
    type (
    	p1 pi.foo /* ERROR "pi.foo is not a type" */
    	p2 unsafe.Pointer
    )
    
    
    type (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/support.go

    	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
    	types.Universe.Lookup("error").Type(),
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/encoding/gob/type.go

    	tFloat     = bootstrapType("float", (*float64)(nil))
    	tBytes     = bootstrapType("bytes", (*[]byte)(nil))
    	tString    = bootstrapType("string", (*string)(nil))
    	tComplex   = bootstrapType("complex", (*complex128)(nil))
    	tInterface = bootstrapType("interface", (*any)(nil))
    	// Reserve some Ids for compatible expansion
    	tReserved7 = bootstrapType("_reserved1", (*struct{ r7 int })(nil))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top