Game Clock Precision
- by Philip
I'm reading a fantastic article about game timer precision and here is a quote about 2/3 of the way into the article:
If you start your game clock at about 4 billion (more precisely 2^32,
or any large power of two) then your exponent, and hence your
precision, will remain constant for the next ~4 billion seconds, or
~136 years.
He doesn't give a concrete example of this though. Does this mean I would want to add 2^32 to the game clock value that I store at the beginning of each frame? Or is there a way to actually set the clock in Windows so that the numbers start at 2^32?