|
|
Log in / Subscribe / Register

A GPSD time warp

A GPSD time warp

Posted Aug 5, 2021 6:23 UTC (Thu) by cpitrat (subscriber, #116459)
In reply to: A GPSD time warp by HenrikH
Parent article: A GPSD time warp

I really don't get your point. This is strictly equivalent. 2 bits of rollover counter + 10 bits of week number or 12 bits of week counters:

On week 1023:
001111111111

On week 1024:
010000000000

The fact that you decide to separate them or not is entirely up to the code that uses them.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds