go/src/strconv
Damien Neil 1402b27d46 strconv: document parsing of leading +/-
Explicitly document the handling of a sign prefix, and the interaction
between the sign and base prefixes.

Fixes #46641.

Change-Id: I3cd6773e3f074fe671a944a05a79d2408137fcd4
Reviewed-on: https://go-review.googlesource.com/c/go/+/325875
Trust: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2021-06-09 18:16:27 +00:00
..
testdata
atob.go
atob_test.go
atoc.go strconv: revert ParseFloat/ParseComplex error on incorrect bitSize 2020-11-03 23:05:51 +00:00
atoc_test.go strconv: revert ParseFloat/ParseComplex error on incorrect bitSize 2020-11-03 23:05:51 +00:00
atof.go strconv: ParseFloat: always return ErrSyntax for bad syntax 2021-06-07 21:12:46 +00:00
atof_test.go strconv: ParseFloat: always return ErrSyntax for bad syntax 2021-06-07 21:12:46 +00:00
atoi.go strconv: document parsing of leading +/- 2021-06-09 18:16:27 +00:00
atoi_test.go strconv: document parsing of leading +/- 2021-06-09 18:16:27 +00:00
bytealg.go strconv: add QuotedPrefix 2021-05-04 00:56:00 +00:00
bytealg_bootstrap.go strconv: add QuotedPrefix 2021-05-04 00:56:00 +00:00
ctoa.go
ctoa_test.go strconv: fix incorrect bit size in ParseComplex; add tests 2020-10-30 00:13:25 +00:00
decimal.go
decimal_test.go
doc.go
eisel_lemire.go [dev.regabi] strconv: add to bootstrap packages 2020-11-24 19:42:42 +00:00
example_test.go
export_test.go
fp_test.go
ftoa.go strconv: Implement Ryū algorithm for ftoa shortest mode 2021-04-15 09:18:03 +00:00
ftoa_test.go strconv: Implement Ryū algorithm for ftoa shortest mode 2021-04-15 09:18:03 +00:00
ftoaryu.go strconv: remove unused extfloat (Grisu3) ftoa code 2021-04-27 17:03:53 +00:00
ftoaryu_test.go strconv: implement Ryū-like algorithm for fixed precision ftoa 2021-04-15 08:44:21 +00:00
internal_test.go strconv: implement Ryū-like algorithm for fixed precision ftoa 2021-04-15 08:44:21 +00:00
isprint.go unicode: upgrade to Unicode 13.0.0 2020-08-20 13:41:13 +00:00
itoa.go
itoa_test.go
makeisprint.go all: faster midpoint computation in binary search 2021-02-23 01:37:31 +00:00
quote.go strconv: add QuotedPrefix 2021-05-04 00:56:00 +00:00
quote_test.go strconv: add QuotedPrefix 2021-05-04 00:56:00 +00:00
strconv_test.go