]> Cypherpunks repositories - gostls13.git/commitdiff
math/big: replace dead link in a comment with link to an archive.org copy
authorAlok Menghrajani <441307+alokmenghrajani@users.noreply.github.com>
Sat, 3 Sep 2022 21:16:49 +0000 (21:16 +0000)
committerRobert Griesemer <gri@google.com>
Tue, 6 Sep 2022 16:37:29 +0000 (16:37 +0000)
Happy to use another service if web.archive.org isn't suitable.

Note: the original page redirects and then links to some nsfw content.

Change-Id: Ie93ca0c6aad871881f35b7e5609b96da5c14cfc0
GitHub-Last-Rev: ced5a97eb5c1d954a04d4bb61d36d955ca45a6ab
GitHub-Pull-Request: golang/go#54857
Reviewed-on: https://go-review.googlesource.com/c/go/+/428236
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/math/big/prime.go

index d9a5f1ec968384016189882a7eea612e94eec051..a06378956a6bfb45f43cd4a0ed6492f2c03fc0e1 100644 (file)
@@ -141,7 +141,7 @@ NextRandom:
 //
 // Jacobsen, "Pseudoprime Statistics, Tables, and Data", http://ntheory.org/pseudoprimes.html.
 //
-// Nicely, "The Baillie-PSW Primality Test", http://www.trnicely.net/misc/bpsw.html.
+// Nicely, "The Baillie-PSW Primality Test", https://web.archive.org/web/20191121062007/http://www.trnicely.net/misc/bpsw.html.
 // (Note that Nicely's definition of the "extra strong" test gives the wrong Jacobi condition,
 // as pointed out by Jacobsen.)
 //