The portable rand() functions specified by ANSI C has poor randomness. The better BSD/UNIX rand48() functions are not portable.
mt is a very slightly amended version of the fast, portable and high-quality Mersenne Twister pseudo-random number mt19937ar by Makoto Matsumoto and Takuji Nishimura.
This version contains the two essential functions: mt_init() to initalize the generator and mt_drand53() to generate a random number between 0 and 1 with 53 random bits, the maximum possible uniform randomness in double précision.
These details are provided for information only. No information here is legal advice and should not be used as such.