]> Cypherpunks repositories - gostls13.git/commitdiff
math/bits: update reference to debruijn paper
authorSean Liao <sean@liao.dev>
Wed, 4 Dec 2024 21:50:30 +0000 (21:50 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 4 Dec 2024 22:15:36 +0000 (22:15 +0000)
The old link no longer works.

Fixes #70684

Change-Id: I8711ef7d5721bf20ef83f5192dd0d1f73dda6ce1
Reviewed-on: https://go-review.googlesource.com/c/go/+/633775
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/math/bits/bits.go

index 235d63e85bc53d3e14c46d6c07f8fa647c35aadd..76ed1d03fc416bd356b6db9d9938fbdee9a717c4 100644 (file)
@@ -38,7 +38,7 @@ func LeadingZeros64(x uint64) int { return 64 - Len64(x) }
 
 // --- TrailingZeros ---
 
-// See http://supertech.csail.mit.edu/papers/debruijn.pdf
+// See http://keithandkatie.com/keith/papers/debruijn.html
 const deBruijn32 = 0x077CB531
 
 var deBruijn32tab = [32]byte{