Anyone fancy porting the Mersenne Twister?
There's not much code to port, but I came unstuck with the unsigned integers! I know there are ways to work around such issues, but I've never been too hot with low-down bit-twiddling myself...
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ewhat-is-mt.html
There's not much code to port, but I came unstuck with the unsigned integers! I know there are ways to work around such issues, but I've never been too hot with low-down bit-twiddling myself...
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ewhat-is-mt.html