go/src/strconv
Martin Möhrmann f81d73e8d5 strconv: add comment explaining bounded shift in formatBits
The compiler can generate better code for shifts bounded to be less than 32
and thereby known to be less than any register width.
See https://golang.org/cl/109776.

Change-Id: I0c4c9f0faafa065fce3c10fd328830deb92f9e38
Reviewed-on: https://go-review.googlesource.com/c/111735
Run-TryBot: Martin Möhrmann <moehrmann@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-10-15 21:45:52 +00:00
..
testdata
atob.go strconv: add missing period to godoc comment 2018-06-09 01:26:25 +00:00
atob_test.go
atof.go
atof_test.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
atoi.go all: remove unneeded parentheses from package consts and vars 2018-10-06 12:11:53 +00:00
atoi_test.go
decimal.go
decimal_test.go
doc.go strconv: make code formatting more consistent in doc.go 2018-03-19 12:53:16 +00:00
example_test.go strconv: add example for QuoteRuneToGraphic and QuoteToGraphic functions 2018-10-08 19:13:38 +00:00
export_test.go
extfloat.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
fp_test.go
ftoa.go strconv: clarify "g" and "G" precision in the docs 2018-08-01 00:57:00 +00:00
ftoa_test.go all: update comment URLs from HTTP to HTTPS, where possible 2018-06-01 21:52:00 +00:00
internal_test.go
isprint.go all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
itoa.go strconv: add comment explaining bounded shift in formatBits 2018-10-15 21:45:52 +00:00
itoa_test.go strconv: simplify and optimize Itoa(small) 2018-05-03 18:07:02 +00:00
makeisprint.go all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
quote.go strconv: use bytealg implementation of IndexByteString 2018-08-22 17:04:01 +00:00
quote_test.go
strconv_test.go