]> Cypherpunks repositories - gostls13.git/commit
strconv: cleanup old compiler bits.TrailingZeros workaround
authorJorropo <jorropo.pgm@gmail.com>
Tue, 8 Oct 2024 23:00:36 +0000 (01:00 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 14 Nov 2024 18:20:19 +0000 (18:20 +0000)
commit672a53def7e94b4d26049c5cd44dda5d7f1a46ff
treef6342904bf81957d6059769af093c0dfcc61b539
parenta763084ed2e19653952764c1ed0da0329bd94a89
strconv: cleanup old compiler bits.TrailingZeros workaround

Since CL 599096 the compiler knows bits.TrailingZeros's maximum value
based on the input type size.

Since CL 603996 it knows it based on input's maximum value.

Change-Id: Ib0d6b15a3ba6894d3e7e12b79b387ddbffabe370
Reviewed-on: https://go-review.googlesource.com/c/go/+/618715
Auto-Submit: Robert Griesemer <gri@google.com>
Commit-Queue: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/strconv/itoa.go