Mother of all random number generator
Zap-o
Posts: 452
Has anyone ever heard of or coded in spin, "the mother of all random number generator"?
I am putting together an object for the object exchange that will help a lot of new up and coming programmers on the propeller. It will contain several functions that will be very useful. This is my last function and I am determined to put in the object.
Problem that I am having is its currently written in asm or C++ and I have no expertise in these languages. If someone wants to help and knows C++ please take a look. I need more information on this and figured I would ask here for some help getting started or looking over your code example (if you have done this before).
http://lxnt.info/rng/randomc.htm
or
http://www.agner.org/random/theory/
I am putting together an object for the object exchange that will help a lot of new up and coming programmers on the propeller. It will contain several functions that will be very useful. This is my last function and I am determined to put in the object.
Problem that I am having is its currently written in asm or C++ and I have no expertise in these languages. If someone wants to help and knows C++ please take a look. I need more information on this and figured I would ask here for some help getting started or looking over your code example (if you have done this before).
http://lxnt.info/rng/randomc.htm
or
http://www.agner.org/random/theory/
Comments
I am not sure just how complicated you need this random number generator to be, but here is one that would be simpler to decipher.
Bruce
Bruce