<div dir='auto'><div><div class="gmail_extra"><div class="gmail_quote">On Aug 28, 2023 18:10, James Browning <jamesb192@jamesb192.com> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto"><div class="elided-text">On Aug 28, 2023 17:10, Hal Murray <halmurray@sonic.net> wrote:<br type="attribution"><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
<br>
James Browning said:
<br>
> The NTP solution would be to convert the mess to l_fp which
<br>
> will work for a bit less than 13 years.
<br>
<br>
Thanks. l_fp is the right answer.
<br>
<br>
How did you get 13 years? I get 136. Did you drop/typo the 6?<br></p></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Expires February 2036 minus the current date</div><div dir="auto">is about 12 years and 5 months maybe ish...</div><div dir="auto"><br></div><div dir="auto">Oh, wait I am supposed to use rollover funcs to</div><div dir="auto">compensate for throwing away more than half</div><div dir="auto">of the epoch at the beginning.</div><div dir="auto"><br></div><div dir="auto"><div class="elided-text"><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
> My joke would be to have it as a long long of micro-seconds which would be
<br>
> good for hundreds of thousands of years.
<br>
<br>
l_fp has 32 bits of fraction. micro takes 20 bits. So using micro seconds
<br>
would gain 12 bits. So that would be 557xxx years.<br></p></blockquote></div></div><div dir="auto">My revised guess would've been around 54400.</div><div dir="auto"><div class="elided-text"><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr"></p></blockquote></div></div></div></blockquote></div><br></div></div></div>