We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e7270 commit 7d1d944Copy full SHA for 7d1d944
src/math/rand/rand.go
@@ -298,7 +298,7 @@ var _ *rngSource = globalRand.src.(*lockedSource).src
298
// Seed uses the provided seed value to initialize the default Source to a
299
// deterministic state. If Seed is not called, the generator behaves as
300
// if seeded by Seed(1). Seed values that have the same remainder when
301
-// divided by 2^31-1 generate the same pseudo-random sequence.
+// divided by 2³¹-1 generate the same pseudo-random sequence.
302
// Seed, unlike the Rand.Seed method, is safe for concurrent use.
303
func Seed(seed int64) { globalRand.Seed(seed) }
304
0 commit comments