mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
random 修正
This commit is contained in:
parent
37a20e0350
commit
8e6b3d22cb
5 changed files with 708 additions and 0 deletions
|
@ -121,6 +121,9 @@ namespace sprout {
|
|||
//
|
||||
typedef sprout::random::linear_congruential_engine<std::uint32_t, 48271, 0, 2147483647> minstd_rand;
|
||||
|
||||
//
|
||||
// rand48
|
||||
//
|
||||
class rand48 {
|
||||
public:
|
||||
typedef std::uint32_t result_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue