random 修正

This commit is contained in:
bolero-MURAKAMI 2011-10-03 18:27:50 +09:00
parent 37a20e0350
commit 8e6b3d22cb
5 changed files with 708 additions and 0 deletions

View file

@ -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;