00001 00007 #include "StdDefs.h" 00008 00009 float frand() 00010 { 00011 unsigned int x = rand(); 00012 return float(float(x) / float(RAND_MAX)); 00013 }