Can feel good, is to take white piao!!!! The first post, also not too will use BBS, please take care of a lot!
#include
# define GETRAND (* (*) & amp; (seed=seed * (1 - seed) * 4))//is only Yu Xiaoduan storage system, after the big end storage, please take a few bytes
Void main ()
{
Double seed=0.1;//between 0 and 1 decimal, not is 0.5, there are an infinite number of digits can't take, but it is almost impossible to get to the
While (1)
{
Printf (" % d \ n ", the GETRAND);
Getchar ();
}
}
Must give points,,, emmmm, test out repetitive give points!
CodePudding user response:
Can find a few online compiler testCodePudding user response:
Intel has rdseed, rdrand instruction, rdseed can generate really random number (read internal temperature sensor chip thermal noise data), generates a rdrand rdseed for seed quality pseudo-random number