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.
PCGSource.PCG
PCGSource.State
1 parent 20a3031 commit 776a471Copy full SHA for 776a471
rand/rng.go
@@ -64,8 +64,8 @@ func (pcg *PCGSource) Seed64(high, low uint64) {
64
pcg.low = low
65
}
66
67
-// PCG returns the high and low bits of the generator state.
68
-func (pcg *PCGSource) PCG() (high, low uint64) {
+// State returns the high and low bits of the generator state.
+func (pcg *PCGSource) State() (high, low uint64) {
69
return pcg.high, pcg.low
70
71
0 commit comments