New config feature - time1 can declare GPS wraparound compensation

Gary E. Miller gem at rellim.com
Fri Aug 16 21:05:40 UTC 2019


Yo Eric!

On Fri, 16 Aug 2019 17:01:02 -0400
"Eric S. Raymond via devel" <devel at ntpsec.org> wrote:

> Sanjeev Gupta <ghane0 at gmail.com>:
> > Eric,
> > 
> > sizeof(double) seems to be 8 bytes.  The 8192 * No of Secs per week
> > overflows this.  
> 
> Huh. If "long double" isn't 16 bytes, we're foing to have a problem.

How about "long long int"?

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/efa56da4/attachment-0001.bin>


More information about the devel mailing list