- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 64 for fComplex128 (0.31 sec)
-
src/cmd/compile/internal/types/universe.go
{"int64", TINT64}, {"uint8", TUINT8}, {"uint16", TUINT16}, {"uint32", TUINT32}, {"uint64", TUINT64}, {"float32", TFLOAT32}, {"float64", TFLOAT64}, {"complex64", TCOMPLEX64}, {"complex128", TCOMPLEX128}, {"bool", TBOOL}, {"string", TSTRING}, } var typedefs = [...]struct { name string etype Kind sameas32 Kind sameas64 Kind }{ {"int", TINT, TINT32, TINT64},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:49 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
) const ( _ complex128 = - /* ERROR "overflow" */ (maxFloat64 + delta64) _ complex128 = -maxFloat64 _ complex128 = maxFloat64 _ complex128 = maxFloat64 /* ERROR "overflow" */ + delta64 _ = complex128(- /* ERROR "cannot convert" */ (maxFloat64 + delta64)) _ = complex128(-maxFloat64) _ = complex128(maxFloat64) _ = complex128(maxFloat64 /* ERROR "cannot convert" */ + delta64) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0) -
src/math/cmplx/sin.go
// DEC -10,+10 8400 5.3e-17 1.3e-17 // IEEE -10,+10 30000 3.8e-16 1.0e-16 // Also tested by csin(casin(z)) = z. // Sin returns the sine of x. func Sin(x complex128) complex128 { switch re, im := real(x), imag(x); { case im == 0 && (math.IsInf(re, 0) || math.IsNaN(re)): return complex(math.NaN(), im) case math.IsInf(im, 0): switch { case re == 0: return 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) -
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/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) -
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/cgo/internal/testcshared/testdata/issue36233/issue36233.go
package main // #include <complex.h> import "C" //export exportComplex64 func exportComplex64(v complex64) complex64 { return v } //export exportComplex128 func exportComplex128(v complex128) complex128 { return v } //export exportComplexfloat func exportComplexfloat(v C.complexfloat) C.complexfloat { return v } //export exportComplexdouble
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 601 bytes - Viewed (0) -
test/codegen/mapaccess.go
m := make(map[complex128][]complex128, 0) var k complex128 = 0 // 386:-".*mapaccess" // amd64:-".*mapaccess" // arm:-".*mapaccess" // arm64:-".*mapaccess" m[k] = append(m[k], 1) // 386:-".*mapaccess" // amd64:-".*mapaccess" // arm:-".*mapaccess" // arm64:-".*mapaccess" m[k] = append(m[k], 1, 2, 3) a := []complex128{7, 8, 9, 0} // 386:-".*mapaccess"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 17:36:38 UTC 2022 - 9.1K bytes - Viewed (0) -
src/go/types/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/strconv/strconv_test.go
} } } // Sink makes sure the compiler cannot optimize away the benchmarks. var Sink struct { Bool bool Int int Int64 int64 Uint64 uint64 Float64 float64 Complex128 complex128 Error error Bytes []byte } func TestAllocationsFromBytes(t *testing.T) { const runsPerTest = 100 bytes := struct{ Bool, Number, String, Buffer []byte }{ Bool: []byte("false"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 20:29:22 UTC 2022 - 4.7K bytes - Viewed (0)