mirror of
https://github.com/golang/go
synced 2024-11-18 04:14:49 -07:00
strconv: fix doc comment for IntSize
R=golang-dev, r CC=golang-dev https://golang.org/cl/12258043
This commit is contained in:
parent
c33d490020
commit
c24e60eebb
@ -33,7 +33,8 @@ func rangeError(fn, str string) *NumError {
|
||||
|
||||
const intSize = 32 << uint(^uint(0)>>63)
|
||||
|
||||
const IntSize = intSize // number of bits in int, uint (32 or 64)
|
||||
// IntSize is the size in bits of an int or uint value.
|
||||
const IntSize = intSize
|
||||
|
||||
// Return the first number n such that n*base >= 1<<64.
|
||||
func cutoff64(base int) uint64 {
|
||||
|
Loading…
Reference in New Issue
Block a user