summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-random/src/mt19937ar.c
AgeCommit message (Collapse)Author
2014-02-25Implement default Random instance.chasonr
Previously, the default random number generator was implemented using static storage. This storage is common to all instances of mruby in a process, and use of the default random number generator in one instance will perturb the default random number generator in other instances. It is also not thread safe. With this change, the default random number generator is defined as Random::DEFAULT, as it is in CRuby.
2014-02-21use 'd' format spec to get Random objecttake_cheeze
2014-01-07remove superfluous includescremno
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
2013-04-08Change mruby-random License to MITMATSUMOTO Ryosuke
refs: http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/license.html
2013-03-27Support mt instance valiablesMATSUMOTO Ryosuke
2013-03-23Add mruby-random mrbgem (no activation though)MATSUMOTO Ryosuke