4 ms·
Monotonically rising time with a negative leapsecond...
by ggm 6y ago
Monotonically rising time with a negative leapsecond...
- repsilat 6y agoActually the negative leap second is "more monotonic" than the regular one. Normally a leap second adds an extra second (58, 59, 60, 00), but a negative leap second skips one (58, 00). Uniquely specifying the four times in the first sequence as UNIX timestamps isn't strictly possible, but it is possible with negative leap seconds.
- ggm 6y agophew!
- contravariant 6y agoNow this is going to sound crazy but what if we just extend the year by a few seconds by default? Then we can just skip seconds as needed.