- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,685 for complex1 (0.14 sec)
-
src/internal/types/testdata/check/builtins0.go
// 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) const _ int = 1.0 + complex(1, 0i) const _ int = complex /* ERROR "int" */ (1.1, 0) const _ float32 = complex /* ERROR "float32" */ (1, 2) // untyped values var s uint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
test/fixedbugs/issue11590.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 11 02:26:58 UTC 2022 - 419 bytes - Viewed (0) -
test/typeparam/absdiffimp2.dir/a.go
type orderedNumeric interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 } // Complex matches the two complex types, which do not have a < operator. type Complex interface { ~complex64 | ~complex128 } // orderedAbs is a helper type that defines an Abs method for // a struct containing an ordered numeric type. type orderedAbs[T orderedNumeric] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 09 21:26:42 UTC 2022 - 2.8K bytes - Viewed (0) -
test/typeparam/absdiffimp.dir/a.go
type orderedNumeric interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ~float32 | ~float64 } // Complex matches the two complex types, which do not have a < operator. type Complex interface { ~complex64 | ~complex128 } // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639). // // orderedAbs is a helper type that defines an Abs method for
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 00:11:24 UTC 2021 - 2.1K bytes - Viewed (0) -
test/zerodivide.go
// All complex divide by zero should not error. ErrorTest{"complex 0/0", func() { use(c / d) }, ""}, ErrorTest{"complex64 0/0", func() { use(c64 / d64) }, ""}, ErrorTest{"complex128 0/0", func() { use(c128 / d128) }, ""}, ErrorTest{"complex 1/0", func() { use(e / d) }, ""}, ErrorTest{"complex64 1/0", func() { use(e64 / d64) }, ""}, ErrorTest{"complex128 1/0", func() { use(e128 / d128) }, ""}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 15:53:04 UTC 2021 - 5.7K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/fp_test.go
func cx128diff_ssa(a, b complex128) complex128 { return a - b } //go:noinline func cx128prod_ssa(a, b complex128) complex128 { return a * b } //go:noinline func cx128quot_ssa(a, b complex128) complex128 { return a / b } //go:noinline func cx128neg_ssa(a complex128) complex128 { return -a } //go:noinline func cx128real_ssa(a complex128) float64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 35K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/complete.go
Alexander Zielenski <******@****.***> 1717179408 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 18:20:00 UTC 2024 - 4.5K bytes - Viewed (0) -
test/rename1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:07:00 UTC 2023 - 1.1K bytes - Viewed (0) -
src/internal/types/testdata/check/decls1.go
package decls1 import ( "math" ) // Global variables without initialization var ( a, b bool c byte d uint8 r rune i int j, k, l int x, y float32 xx, yy float64 u, v complex64 uu, vv complex128 s, t string array []byte iface interface{} blank _ /* ERROR "cannot use _" */ ) // Global variables with initialization var ( s1 = i + j s2 = i /* ERROR "mismatched types" */ + x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.8K bytes - Viewed (0) -
src/math/cmplx/sin.go
func Sinh(x complex128) complex128 { switch re, im := real(x), imag(x); { case re == 0 && (math.IsInf(im, 0) || math.IsNaN(im)): return complex(re, math.NaN()) case math.IsInf(re, 0): switch { case im == 0: return complex(re, im) case math.IsInf(im, 0) || math.IsNaN(im): return complex(re, math.NaN()) } case im == 0 && math.IsNaN(re): return complex(math.NaN(), im) } s, c := math.Sincos(imag(x))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.8K bytes - Viewed (0)