Comment by themafia

3 hours ago

66 days + 12 hours are 5,745,600,000,000,000 ns. The log2 of this is 52.351...

Javascript and some other languages only have integer precision up to 52 bits then they switch to floating point.

Curious.

It's 32 bits of milliseconds, right? Hm, no, that would overflow much sooner (49.7 days).

  • It's a uint32_t of 750 Hz "jiffies", which does overflow at ~66 days.

    • While that seems like a convincing explanation, 750Hz is a rather odd value to use for a timer, and more importantly the overflow would be at 66d6h43m43s instead of the reported ~66d12h.