Commit c24e60ee authored by Russ Cox's avatar Russ Cox

strconv: fix doc comment for IntSize

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12258043
parent c33d4900
...@@ -33,7 +33,8 @@ func rangeError(fn, str string) *NumError { ...@@ -33,7 +33,8 @@ func rangeError(fn, str string) *NumError {
const intSize = 32 << uint(^uint(0)>>63) 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. // Return the first number n such that n*base >= 1<<64.
func cutoff64(base int) uint64 { func cutoff64(base int) uint64 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment