Project

General

Profile

Task #279 » random3.h

Alexander Kamkin, 06/28/2010 11:26 AM

 
/*
Random number generator from http://www.concentric.net/~Ttwang/tech/rndtest.htm
Article "Random Number Based Test Case Generation"
Thomas Wang, November 2000
last update November 2000
*/

#ifndef RANDOM3_H_INCLUDED
#define RANDOM3_H_INCLUDED

int nextInt(void);
long long nextLong(void);
float nextFloat(void); /* from 0.0 to 0.99999999 */
double nextDouble(void); /* from 0.0 to 0.99999999 */

#endif // RANDOM3_H_INCLUDED
(1-1/2)