Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for fComplex128 (0.23 sec)

  1. src/internal/types/testdata/check/builtins0.go

    	var _ complex128 = complex /* ERRORx `cannot use .* in variable declaration` */ (f32, f32)
    	var _ complex128 = complex(f64, f64)
    
    	// untyped constants
    	const _ int = complex(1, 0)
    	const _ float32 = complex(1, 0)
    	const _ complex64 = complex(1, 0)
    	const _ complex128 = complex(1, 0)
    	const _ = complex(0i, 0i)
    	const _ = complex(0i, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func int64tofloat32(int64) float32
    func uint64tofloat64(uint64) float64
    func uint64tofloat32(uint64) float32
    func uint32tofloat64(uint32) float64
    
    func complex128div(num complex128, den complex128) (quo complex128)
    
    func getcallerpc() uintptr
    func getcallersp() uintptr
    
    // race detection
    func racefuncenter(uintptr)
    func racefuncexit()
    func raceread(uintptr)
    func racewrite(uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/runtime/error.go

    	case abi.Float64:
    		print(typestring, "(", *(*float64)(eface.data), ")")
    	case abi.Complex64:
    		print(typestring, *(*complex64)(eface.data))
    	case abi.Complex128:
    		print(typestring, *(*complex128)(eface.data))
    	default:
    		print("(", typestring, ") ", eface.data)
    	}
    }
    
    // printindented prints s, replacing "\n" with "\n\t".
    func printindented(s string) {
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/encoding/binary/binary_test.go

    	Int16      int16
    	Int32      int32
    	Int64      int64
    	Uint8      uint8
    	Uint16     uint16
    	Uint32     uint32
    	Uint64     uint64
    	Float32    float32
    	Float64    float64
    	Complex64  complex64
    	Complex128 complex128
    	Array      [4]uint8
    	Bool       bool
    	BoolArray  [4]bool
    }
    
    type T struct {
    	Int     int
    	Uint    uint
    	Uintptr uintptr
    	Array   [4]int
    }
    
    var s = Struct{
    	0x01,
    	0x0203,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/types2/builtins.go

    				}
    			} else {
    				// an untyped non-constant argument may appear if
    				// it contains a (yet untyped non-constant) shift
    				// expression: convert it to complex128 which will
    				// result in an error (shift of complex value)
    				check.convertUntyped(x, Typ[Complex128])
    				// x should be invalid now, but be conservative and check
    				if x.mode == invalid {
    					return
    				}
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top