]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/math/rand/v2/rng.go
math/rand/v2: rename various functions
[gostls13.git] / src / math / rand / v2 / rng.go
index 1e4a9e014fa78beb82a43e6b34f42c0cf29e152c..841957e8fd21f44ca9a56987d752d30cab190f1d 100644 (file)
@@ -229,8 +229,8 @@ func (rng *rngSource) Seed(seed int64) {
        }
 }
 
-// Int63 returns a non-negative pseudo-random 63-bit integer as an int64.
-func (rng *rngSource) Int63() int64 {
+// Int64 returns a non-negative pseudo-random 63-bit integer as an int64.
+func (rng *rngSource) Int64() int64 {
        return int64(rng.Uint64() & rngMask)
 }