- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 252 for Complex128 (0.25 sec)
-
src/internal/types/testdata/check/expr0.go
// complex128 c0 = complex128(1) c1 complex128 = c0 c2 = +1 c3 = +c0 c4 complex128 = +1 c5 complex128 = +c4 c6 = -1 c7 = -c0 c8 complex128 = -1 c9 complex128 = -c4 c10 = !c0 /* ERROR "not defined" */ c11 = ^1 c12 = ^i0 c13 complex128 = ^1 c14 complex128 = ^c4 /* ERROR "not defined" */ c15 = *c0 /* ERROR "cannot indirect" */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 4.4K bytes - Viewed (0) -
src/go/types/builtins_test.go
{"imag", `var c complex128; _ = imag(c)`, `func(complex128) float64`}, {"imag", `type C64 complex64; var c C64; _ = imag(c)`, `func(p.C64) float32`}, {"imag", `type C128 complex128; var c C128; _ = imag(c)`, `func(p.C128) float64`}, {"real", `_ = real(1i)`, `invalid type`}, // constant {"real", `var c complex64; _ = real(c)`, `func(complex64) float32`}, {"real", `var c complex128; _ = real(c)`, `func(complex128) float64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
test/typeparam/issue48191.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 9.7K bytes - Viewed (0) -
test/fixedbugs/issue20602.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 17:37:52 UTC 2020 - 478 bytes - Viewed (0) -
src/internal/types/testdata/fixedbugs/issue50912.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p func Real[P ~complex128](x P) { _ = real(x /* ERROR "not supported" */ ) } func Imag[P ~complex128](x P) { _ = imag(x /* ERROR "not supported" */ ) } func Complex[P ~float64](x P) { _ = complex(x /* ERROR "not supported" */ , 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 503 bytes - Viewed (0) -
test/fixedbugs/issue19947.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 23:59:57 UTC 2020 - 677 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) -
src/math/cmplx/log.go
// In IEEE arithmetic the peak absolute error is 5.2e-16, rms // absolute error 1.0e-16. // Log returns the natural logarithm of x. func Log(x complex128) complex128 { return complex(math.Log(Abs(x)), Phase(x)) } // Log10 returns the decimal logarithm of x. func Log10(x complex128) complex128 { z := Log(x) return complex(math.Log10E*real(z), math.Log10E*imag(z))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring_test.go
// structs dup("struct{}"), dup("struct{x int}"), {`struct { x, y int z float32 "foo" }`, `struct{x int; y int; z float32 "foo"}`}, {`struct { string elems []complex128 }`, `struct{string; elems []complex128}`}, // pointers dup("*int"), dup("***struct{}"), dup("*struct{a int; b float32}"), // functions dup("func()"), dup("func(x int)"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 17:58:07 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins_test.go
{"imag", `var c complex128; _ = imag(c)`, `func(complex128) float64`}, {"imag", `type C64 complex64; var c C64; _ = imag(c)`, `func(p.C64) float32`}, {"imag", `type C128 complex128; var c C128; _ = imag(c)`, `func(p.C128) float64`}, {"real", `_ = real(1i)`, `invalid type`}, // constant {"real", `var c complex64; _ = real(c)`, `func(complex64) float32`}, {"real", `var c complex128; _ = real(c)`, `func(complex128) float64`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0)