- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 46 for Complex64 (0.17 sec)
-
src/encoding/gob/encode.go
f := v.Float() if f != 0 || state.sendZero { bits := floatBits(f) state.update(i) state.encodeUint(bits) } } // encComplex encodes the complex value (complex64 complex128) referenced by v. // Complex numbers are just a pair of floating-point numbers, real part first. func encComplex(i *encInstr, state *encoderState, v reflect.Value) { c := v.Complex()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc
case toco::IODataType::UINT64: return DT_UINT64; case toco::IODataType::STRING: return DT_STRING; case toco::IODataType::BOOL: return DT_BOOL; case toco::IODataType::COMPLEX64: return DT_COMPLEX64; case toco::IODataType::COMPLEX128: return DT_COMPLEX128; case toco::IODataType::RESOURCE: return DT_RESOURCE; case toco::IODataType::VARIANT:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 17.3K bytes - Viewed (0) -
src/reflect/all_test.go
{x: []float32{1.414}, y: []float32{1.414}}, {x: float64(1.414), y: float64(1.414)}, {x: []float64{1.414}, y: []float64{1.414}}, {x: complex64(1.414), y: complex64(1.414)}, {x: []complex64{1.414}, y: []complex64{1.414}}, {x: complex128(1.414), y: complex128(1.414)}, {x: []complex128{1.414}, y: []complex128{1.414}}, {x: true, y: true}, {x: []bool{true}, y: []bool{true}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/reflect/type.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/go/types/builtins.go
// (applyTypeFunc never calls f with a type parameter) f := func(typ Type) Type { assert(!isTypeParam(typ)) if t, _ := under(typ).(*Basic); t != nil { switch t.kind { case Float32: return Typ[Complex64] case Float64: return Typ[Complex128] case UntypedFloat: return Typ[UntypedComplex] } } return nil } resTyp := check.applyTypeFunc(f, x, id) if resTyp == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
// (applyTypeFunc never calls f with a type parameter) f := func(typ Type) Type { assert(!isTypeParam(typ)) if t, _ := under(typ).(*Basic); t != nil { switch t.kind { case Float32: return Typ[Complex64] case Float64: return Typ[Complex128] case UntypedFloat: return Typ[UntypedComplex] } } return nil } resTyp := check.applyTypeFunc(f, x, id) if resTyp == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
int16(-12345), int32(123456), int64(-1234567), uint(123), uint8(123), uint16(12345), uint32(123456), uint64(1234567), uintptr(12345678), float32(1.2345), float64(1.2345678), complex64(1.2345 + 2.3456i), complex128(1.2345678 + 2.3456789i), []byte("hello"), string("hello"), } for _, value := range values { b := new(bytes.Buffer) enc := NewEncoder(b) err := enc.Encode(value)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
src/reflect/abi.go
case 4: return a.assignIntN(offset, 4, 2, 0b0) case 8: return a.assignIntN(offset, 8, 1, 0b0) } case Float32, Float64: return a.assignFloatN(offset, t.Size(), 1) case Complex64: return a.assignFloatN(offset, 4, 2) case Complex128: return a.assignFloatN(offset, 8, 2) case String: return a.assignIntN(offset, goarch.PtrSize, 2, 0b01) case Interface:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
src/fmt/print.go
// Some types can be done without reflection. switch f := arg.(type) { case bool: p.fmtBool(f, verb) case float32: p.fmtFloat(float64(f), 32, verb) case float64: p.fmtFloat(f, 64, verb) case complex64: p.fmtComplex(complex128(f), 64, verb) case complex128: p.fmtComplex(f, 128, verb) case int: p.fmtInteger(uint64(f), signed, verb) case int8: p.fmtInteger(uint64(f), signed, verb) case int16:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
c.uint16 = c.Ident("uint16") c.uint32 = c.Ident("uint32") c.uint64 = c.Ident("uint64") c.uintptr = c.Ident("uintptr") c.float32 = c.Ident("float32") c.float64 = c.Ident("float64") c.complex64 = c.Ident("complex64") c.complex128 = c.Ident("complex128") c.void = c.Ident("void") c.string = c.Ident("string") c.goVoid = c.Ident("_Ctype_void") // Normally cgo translates void* to unsafe.Pointer,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0)