Skip to content

Commit

Permalink
adding a portable random number thing
Browse files Browse the repository at this point in the history
  • Loading branch information
Will authored and Will committed Jan 22, 2012
1 parent 51c5bcf commit 9688b18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion barebones/rand.cpp
Expand Up @@ -38,7 +38,6 @@ float rand_t::randf() {
LARGE_INTEGER li;
QueryPerformanceFrequency(&li);
freq = (double)li.QuadPart/1000000000;
std::cout << "FREQ "<<li.QuadPart<<","<<freq<<std::endl;
inited = true;
}
return (now.QuadPart-base)/freq;
Expand Down

0 comments on commit 9688b18

Please sign in to comment.