- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for 2i (0.23 sec)
-
src/fmt/fmt_test.go
{"%.3g", 0i, "(0+0i)"}, {"%.3e", 1 + 2i, "(1.000e+00+2.000e+00i)"}, {"%.3x", 1 + 2i, "(0x1.000p+00+0x1.000p+01i)"}, {"%.3f", 1 + 2i, "(1.000+2.000i)"}, {"%.3g", 1 + 2i, "(1+2i)"}, {"%.3e", -1 - 2i, "(-1.000e+00-2.000e+00i)"}, {"%.3x", -1 - 2i, "(-0x1.000p+00-0x1.000p+01i)"}, {"%.3f", -1 - 2i, "(-1.000-2.000i)"}, {"%.3g", -1 - 2i, "(-1-2i)"}, {"% .3E", -1 - 2i, "(-1.000E+00-2.000E+00i)"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
src/internal/fmtsort/sort_test.go
map[float64]string{7: "bar", -3: "foo", math.NaN(): "nan", math.Inf(0): "inf"}, "NaN:nan -3:foo 7:bar +Inf:inf", }, { map[complex128]string{7 + 2i: "bar2", 7 + 1i: "bar", -3: "foo", complex(math.NaN(), 0i): "nan", complex(math.Inf(0), 0i): "inf"}, "(NaN+0i):nan (-3+0i):foo (7+1i):bar (7+2i):bar2 (+Inf+0i):inf", }, { map[bool]string{true: "true", false: "false"}, "false:false true:true", }, { chanMap(),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 6.9K bytes - Viewed (0) -
src/text/template/parse/parse_test.go
{"0X_1P4", true, true, true, false, 16, 16, 16, 0}, {"0x_1p-4", false, false, true, false, 0, 0, 1 / 16., 0}, {"4i", false, false, false, true, 0, 0, 0, 4i}, {"-1.2+4.2i", false, false, false, true, 0, 0, 0, -1.2 + 4.2i}, {"073i", false, false, false, true, 0, 0, 0, 73i}, // not octal! // complex with 0 imaginary are float (and maybe integer) {"0i", true, true, true, true, 0, 0, 0, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalarmult_test.go
t.Error(err) } } func TestBasepointTableGeneration(t *testing.T) { // The basepoint table is 32 affineLookupTables, // corresponding to (16^2i)*B for table i. basepointTable := basepointTable() tmp1 := &projP1xP1{} tmp2 := &projP2{} tmp3 := &Point{} tmp3.Set(B) table := make([]affineLookupTable, 32) for i := 0; i < 32; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 4.9K bytes - Viewed (0) -
src/text/template/exec_test.go
type cmpTest struct { expr string truth string ok bool } var cmpTests = []cmpTest{ {"eq true true", "true", true}, {"eq true false", "false", true}, {"eq 1+2i 1+2i", "true", true}, {"eq 1+2i 1+3i", "false", true}, {"eq 1.5 1.5", "true", true}, {"eq 1.5 2.5", "false", true}, {"eq 1 1", "true", true}, {"eq 1 2", "false", true}, {"eq `xy` `xy`", "true", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/html/template/exec_test.go
type cmpTest struct { expr string truth string ok bool } var cmpTests = []cmpTest{ {"eq true true", "true", true}, {"eq true false", "false", true}, {"eq 1+2i 1+2i", "true", true}, {"eq 1+2i 1+3i", "false", true}, {"eq 1.5 1.5", "true", true}, {"eq 1.5 2.5", "false", true}, {"eq 1 1", "true", true}, {"eq 1 2", "false", true}, {"eq `xy` `xy`", "true", true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
_ = cap([4]int{cap([4]int{})}) ) var y float64 var z complex128 const ( _ = cap([4]float64{}) _ = cap([4]float64{y}) _ = cap([4]float64{real(2i)}) _ = cap /* ERROR "not constant" */ ([4]float64{real(z)}) ) var ch chan [10]int const ( _ = cap /* ERROR "not constant" */ (<-ch) _ = cap /* ERROR "not constant" */ ([4]int{(<-ch)[0]}) ) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go
// Work our way down to the level 0 ordering. // We'll add back the original level count at the end. for l := level; l > 0; l-- { n = 2*n + 1 } // Level 0's n'th hash is written at n+n/2+n/4+... (eventually n/2ⁱ hits zero). i := int64(0) for ; n > 0; n >>= 1 { i += n } return i + int64(level) } // SplitStoredHashIndex is the inverse of [StoredHashIndex].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 17.9K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv12-RenegotiateTwiceRejected
00000320 58 ce a3 33 be 0f ca 12 54 a2 0e a9 e5 22 8f 82 |X..3....T...."..| 00000330 df 1a 3e 21 bf 66 c6 13 39 77 83 95 b1 4b 1d d3 |..>!.f..9w...K..| 00000340 32 69 24 c2 89 14 03 03 00 11 1c eb 63 31 c9 c9 |2i$.........c1..| 00000350 8a e3 8b 25 7e e9 b7 7d 19 03 3c 16 03 03 00 20 |...%~..}..<.... | 00000360 c6 41 57 04 ab e8 6c 55 0b dc cd 06 f5 b3 4b 95 |.AW...lU......K.|
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 18.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
// -1 and +1, it will be emitted as if q.Format were DecimalSI. // - Otherwise, if q.Format is set to BinarySI, fractional parts of q.Amount will be // rounded up. (1.1i becomes 2i.) func (q *Quantity) CanonicalizeBytes(out []byte) (result, suffix []byte) { if q.IsZero() { return zeroBytes, nil } var rounded CanonicalValue format := q.Format switch format {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 23.8K bytes - Viewed (0)