Removed TODOs about overflow; we really can't handle overflow properly anyway, so eh.
This commit is contained in:
parent
f948c30a3b
commit
2282ee2cf8
|
@ -60,7 +60,6 @@ int64_t testingTimerNsec(testingTimer *t)
|
||||||
c = t->end.QuadPart - t->start.QuadPart;
|
c = t->end.QuadPart - t->start.QuadPart;
|
||||||
|
|
||||||
ret = c * qpnsQuot;
|
ret = c * qpnsQuot;
|
||||||
// TODO figure out if the following multiplication can overflow
|
|
||||||
ret += (c * qpnsRem) / qpf.QuadPart;
|
ret += (c * qpnsRem) / qpf.QuadPart;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue