- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for 0b_1011_1101 (0.24 sec)
-
src/math/big/floatconv_test.go
{"0x1.fffffffffffffp1023", math.MaxFloat64}, // underscores {"0_0", 0}, {"1_000.", 1000}, {"1_2_3.4_5_6", 123.456}, {"1.0e0_0", 1}, {"1p+1_0", 1024}, {"0b_1000", 0x8}, {"0b_1011_1101", 0xbd}, {"0x_f0_0d_1eP+0_8", 0xf00d1e00}, } { var x Float x.SetPrec(53) _, ok := x.SetString(test.s) if math.IsNaN(test.x) { // test.s is invalid if ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 24.3K bytes - Viewed (0) -
src/go/constant/value_test.go
`0O0123_4567 = 01234567`, // binaries `0b0 = 0`, `0b1011 = 0xb`, `0b00101101 = 0x2d`, `0B0 = 0`, `0B1011 = 0xb`, `0B00101101 = 0x2d`, `0b_0 = 0`, `0b10_11 = 0xb`, `0b_0010_1101 = 0x2d`, } // The RHS operand may be a floating-point quotient n/d of two integer values n and d. var floatTests = []string{ // decimal floats `1_2_3. = 123.`, `0_123. = 123.`, `0_0e0 = 0.`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 15.6K bytes - Viewed (0)