#include <stdio.h> #include <stdlib.h> #include <math.h> double rnd(void){ unsigned rndnum=13; rndnum=(rndnum*109+1021)%32768; return rndnum/32767.1; }
#include <stdio.h> #include <stdlib.h> #include <math.h>