Yo Hal!

On Wed, 29 Dec 2021 03:02:00 -0800
Hal Murray via devel <devel@ntpsec.org> wrote:

> Gary said:
> > Basically, if the GPS reports more the 17 leap seconds, then the
> > time has to be aster 1 Jan 2017.  
> 
> Thanks.
> 
> I assume the leap second tangle is so avoid breaking some very old
> test cases by bumping them into the current epoch.

Only the not so very old test cases.  The very old test cases needed
a different fix.  For those, the "# Date:" header in the regression test is
used.

> The code I was expecting doesn't know anything about leaps.
> 
> It would be close to:
>   while (t < PIVOT) t += 1024*7*86400

Which will break after 1024 weeks. Which sounds like a lot, but there
are a lot of GPS that are more than 1024 weeks old since their firmware
was cut.

> Are there any GPS units old enough to need to get bumped twice?

Yes.  A few.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        g...@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpYlrAk3qCi3.pgp
Description: OpenPGP digital signature

_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to