- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for 0o (0.02 sec)
-
test/fixedbugs/issue31747.go
const ( _ = 1_000 // ERROR "underscore in numeric literal requires go1.13 or later \(-lang was set to go1.12; check go.mod\)|requires go1.13" _ = 0b111 // ERROR "binary literal requires go1.13 or later" _ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later" _ = 0b111 // ERROR "binary" _ = 0o567 // ERROR "octal" _ = 0xabc // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
src/internal/types/testdata/check/go1_12.go
package p // numeric literals const ( _ = 1_000 // ERROR "underscore in numeric literal requires go1.13 or later" _ = 0b111 // ERROR "binary literal requires go1.13 or later" _ = 0o567 // ERROR "0o/0O-style octal literal requires go1.13 or later" _ = 0xabc // ok _ = 0x0p1 // ERROR "hexadecimal floating-point literal requires go1.13 or later" _ = 0b111 // ERROR "binary" _ = 0o567 // ERROR "octal" _ = 0xabc // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 02:54:13 UTC 2024 - 1.1K bytes - Viewed (0) -
src/math/big/intconv.go
// // The base argument must be 0 or a value from 2 through MaxBase. If the base // is 0, the string prefix determines the actual conversion base. A prefix of // “0b” or “0B” selects base 2; a “0”, “0o”, or “0O” prefix selects // base 8, and a “0x” or “0X” prefix selects base 16. Otherwise the selected // base is 10. func (z *Int) scan(r io.ByteScanner, base int) (*Int, int, error) { // determine sign
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.7K bytes - Viewed (0) -
src/math/big/floatconv.go
// The base argument must be 0, 2, 8, 10, or 16. Providing an invalid base // argument will lead to a run-time panic. // // For base 0, the number prefix determines the actual base: A prefix of // “0b” or “0B” selects base 2, “0o” or “0O” selects base 8, and // “0x” or “0X” selects base 16. Otherwise, the actual base is 10 and // no prefix is accepted. The octal prefix "0" is not supported (a leading // "0" is simply considered a "0"). //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 8.3K bytes - Viewed (0) -
src/strconv/atoi.go
// // The string may begin with a leading sign: "+" or "-". // // If the base argument is 0, the true base is implied by the string's // prefix following the sign (if present): 2 for "0b", 8 for "0" or "0o", // 16 for "0x", and 10 otherwise. Also, for argument base 0 only, // underscore characters are permitted as defined by the Go syntax for // [integer literals]. // // The bitSize argument specifies the integer type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0)