]> Cypherpunks repositories - gostls13.git/commit
fmt: replace variables for type bit sizes with constants
authorMartin Möhrmann <martisch@uos.de>
Thu, 10 Mar 2016 15:11:35 +0000 (16:11 +0100)
committerRob Pike <r@golang.org>
Wed, 16 Mar 2016 01:38:54 +0000 (01:38 +0000)
commita9d0244c334c6d8ac99eb59710d49bb85c707b29
treedf0a0ca8eb819104f163d401b42d456825708976
parent5630cb7518140e58174db7c0db40f16d982ba647
fmt: replace variables for type bit sizes with constants

Use constants instead of dynamically computed values to determine
the bit sizes of types similar to how strconv and other packages
directly compute these sizes. Move these constants near the code
that uses them.

Change-Id: I78d113b7e697466097e32653975df5990380c2c1
Reviewed-on: https://go-review.googlesource.com/20514
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/fmt/print.go
src/fmt/scan.go