Quote:
Originally Posted by Yoshi
It becomes more than 32bit, or more than the unsigned long range.
|
Thanks much for confirming the overflow. Any thoughts you'd be willing to share on the trip vs instant mpg discrepancy? Or better yet, a generic way to multiply and divide 32 bit numbers while not overflowing but retaining max resolution (without a bunch of "if" statements)?