New config feature - time1 can declare GPS wraparound compensation

Sanjeev Gupta ghane0 at gmail.com
Fri Aug 16 21:15:54 UTC 2019


Eric,

double is 8 bytes
long double is 12 bytes

Long double should be enough, I think
-- 
Sanjeev Gupta
+65 98551208     http://www.linkedin.com/in/ghane


On Sat, Aug 17, 2019 at 5:01 AM Eric S. Raymond <esr at thyrsus.com> 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.
> --
>                 <a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20190817/31f7cb7d/attachment.htm>


More information about the devel mailing list