New config feature - time1 can declare GPS wraparound compensation

Gary E. Miller gem at rellim.com
Fri Aug 16 22:04:49 UTC 2019


Yo Fred!

On Fri, 16 Aug 2019 15:00:40 -0700 (PDT)
Fred Wright via devel <devel at ntpsec.org> wrote:

> > Huh. If "long double" isn't 16 bytes, we're foing to have a
> > problem.  
> 
> There's no guarantee that long double differs from double.  Anything
> that depends on it to do so is nonportable.
> 
> That can't be the issue here, anyway, since overflow couldn't have 
> happened after converting to floating-point.

Yes, but the loss of precision will be more than a second, not good for
NTP.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190816/59c0ab9a/attachment.bin>


More information about the devel mailing list