PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

An efficient rand() macro?

Does anyone have a highly efficient rand() macro? Especially for FLOAT values.
take a look at Numerical Recipes in C

http://www.library.cornell.edu/nr/cbookcpdf.html

section 7 Random Numbers


Especially 7.1 Uniform Deviates



i must say dan.p you're being very active of late, its nice to see :)
Structure wrote:
i must say dan.p you're being very active of late, its nice to see :)


Feel free to join in on any of my posts. :) Thanks for the link!