mirror of https://github.com/golang/go.git
This CL modifies ParseInt and ParseUint to recognize 0b and 0o as binary and octal base prefixes when base == 0. See golang.org/design/19308-number-literals for background. For #19308. For #12711. Change-Id: I8efe067f415aa517bdefbff7e230d3fa1694d530 Reviewed-on: https://go-review.googlesource.com/c/160244 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Rob Pike <r@golang.org> |
||
|---|---|---|
| .. | ||
| testdata | ||
| atob.go | ||
| atob_test.go | ||
| atof.go | ||
| atof_test.go | ||
| atoi.go | ||
| atoi_test.go | ||
| decimal.go | ||
| decimal_test.go | ||
| doc.go | ||
| example_test.go | ||
| export_test.go | ||
| extfloat.go | ||
| fp_test.go | ||
| ftoa.go | ||
| ftoa_test.go | ||
| internal_test.go | ||
| isprint.go | ||
| itoa.go | ||
| itoa_test.go | ||
| makeisprint.go | ||
| quote.go | ||
| quote_test.go | ||
| strconv_test.go | ||