- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Complex128 (0.3 sec)
-
src/reflect/value.go
switch v.kind() { case Complex64, Complex128: return true default: return false } } // Complex returns v's underlying value, as a complex128. // It panics if v's Kind is not [Complex64] or [Complex128] func (v Value) Complex() complex128 { k := v.kind() switch k { case Complex64: return complex128(*(*complex64)(v.ptr)) case Complex128: return *(*complex128)(v.ptr) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/reflect/all_test.go
{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}}, {x: "abcdef", y: "abcdef"}, {x: []string{"abcdef"}, y: []string{"abcdef"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> Converting a constant yields a typed constant as result. </p> <pre> uint(iota) // iota value of type uint float32(2.718281828) // 2.718281828 of type float32 complex128(1) // 1.0 + 0.0i of type complex128 float32(0.49999999) // 0.5 of type float32 float64(-1e-1000) // 0.0 of type float64 string('x') // "x" of type string string(0x266c) // "♬" of type string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0)