You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
psyn/rng.h

10 lines
139 B

static inline double rng()
{
static double b = 19.1919191919191919191919;
b += 19.0;
b *= b;
b -= (int)b;
return (b - 0.5) * 2.0;
}