- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 262 for 3xcomplex (4.74 sec)
-
src/cmd/compile/internal/types2/builtins_test.go
{"complex", `_ = complex(1, 0)`, `invalid type`}, // constant {"complex", `var re float32; _ = complex(re, 1.0)`, `func(float32, float32) complex64`}, {"complex", `var im float64; _ = complex(1, im)`, `func(float64, float64) complex128`}, {"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/conversions.go
return true } } } // "V and T are both integer or floating point types" if isIntegerOrFloat(Vu) && isIntegerOrFloat(Tu) { return true } // "V and T are both complex types" if isComplex(Vu) && isComplex(Tu) { return true } // "V is an integer or a slice of bytes or runes and T is a string type" if (isInteger(Vu) || isBytesOrRunes(Vu)) && isString(Tu) { return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:51:00 UTC 2024 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/decompose.go
} f.NamedValues[*hiName] = append(f.NamedValues[*hiName], v.Args[0]) f.NamedValues[*loName] = append(f.NamedValues[*loName], v.Args[1]) toDelete = append(toDelete, namedVal{i, j}) } case t.IsComplex(): rName, iName := f.SplitComplex(name) newNames = maybeAppend2(f, newNames, rName, iName) for j, v := range f.NamedValues[*name] { if v.Op != OpComplexMake { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 21:22:15 UTC 2022 - 13.4K bytes - Viewed (0) -
test/fixedbugs/issue4813.go
// Issue 4813: use of constant floats as indices. package main var A [3]int var S []int var T string const ( i = 1 f = 2.0 f2 = 2.1 c = complex(2, 0) c2 = complex(2, 1) ) var ( vf = f vc = c ) var ( a1 = A[i] a2 = A[f] a3 = A[f2] // ERROR "truncated|must be integer" a4 = A[c] a5 = A[c2] // ERROR "truncated|must be integer"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 13 01:18:12 UTC 2013 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go
}, "add only not nulls": { Original: `{}`, Current: `{}`, Modified: `{"complex":{"nested":null,"nested2":"foo"}}`, ExpectedTwoWay: `{"complex":{"nested":null,"nested2":"foo"}}`, ExpectedTwoWayResult: `{"complex":{"nested2":"foo"}}`, ExpectedThreeWay: `{"complex":{"nested":null,"nested2":"foo"}}`, ExpectedThreeWayResult: `{"complex":{"nested2":"foo"}}`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 16:45:45 UTC 2023 - 130.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes.go
panic("unreachable") } a := s.Sizeof(T) // may be 0 or negative // spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1." if a < 1 { return 1 } // complex{64,128} are aligned like [2]float{32,64}. if isComplex(T) { a /= 2 } if a > s.MaxAlign { return s.MaxAlign } return a } func IsSyncAtomicAlign64(T Type) bool { named := asNamed(T) if named == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/subr.go
if types.SimType[src.Kind()] == types.SimType[dst.Kind()] { return ir.OCONVNOP, "" } return ir.OCONV, "" } // 5. src and dst are both complex types. if src.IsComplex() && dst.IsComplex() { if types.SimType[src.Kind()] == types.SimType[dst.Kind()] { return ir.OCONVNOP, "" } return ir.OCONV, "" } // Special case for constant conversions: any numeric
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
src/fmt/fmt_test.go
{"%.1f", complex(posInf, posInf), "(+Inf+Infi)"}, {"% f", complex(posInf, posInf), "( Inf+Infi)"}, {"% f", complex(negInf, negInf), "(-Inf-Infi)"}, {"% f", complex(NaN, NaN), "( NaN+NaNi)"}, {"%8e", complex(posInf, posInf), "( +Inf +Infi)"}, {"%8x", complex(posInf, posInf), "( +Inf +Infi)"}, {"% 8E", complex(posInf, posInf), "( Inf +Infi)"}, {"% 8X", complex(posInf, posInf), "( Inf +Infi)"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
test/fixedbugs/bug390.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 21:28:48 UTC 2020 - 459 bytes - Viewed (0) -
src/internal/types/testdata/examples/constraints.go
type ( Integer interface{ ~int|~int8|~int16|~int32|~int64 } Unsigned interface{ ~uint|~uint8|~uint16|~uint32|~uint64 } Floats interface{ ~float32|~float64 } Complex interface{ ~complex64|~complex128 } Number interface{ Integer|Unsigned|Floats|Complex } Ordered interface{ Integer|Unsigned|Floats|~string } _ interface{ Number | error /* ERROR "cannot use error in union" */ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 2.9K bytes - Viewed (0)