]> Cypherpunks repositories - gostls13.git/commit
math/rand: refactor rng.go
authorweeellz <weeellz12@gmail.com>
Sat, 14 Apr 2018 15:55:48 +0000 (18:55 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 16 Apr 2018 22:22:14 +0000 (22:22 +0000)
commita2ffe3e625b05217e8d44dcda43138fc61390666
tree37dd19f0284e59a943d484b92ad6ef6b078f93cb
parentaba0775ad8a9b76df34df44d102526efc8a93493
math/rand: refactor rng.go

Made constant names more idiomatic,
moved some constants to function seedrand,
and found better name for _M.

Change-Id: I192172f398378bef486a5bbceb6ba86af48ebcc9
Reviewed-on: https://go-review.googlesource.com/107135
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/math/rand/rng.go