Re: Work item list: lfpfloat to Python

2017-04-26 Thread Gary E. Miller via devel
Yo Hal! On Wed, 26 Apr 2017 12:43:20 -0700 Hal Murray via devel wrote: > ntpq needs to be able to show the EPOCH a server is using. BUILD_EPOCH, UNIX_EPOCH and NTP_EPOCH. Just more system variable to add to mode 6. RGDS GARY

Re: Work item list: lfpfloat to Python

2017-04-26 Thread Hal Murray via devel
NB typo: It's lfptofloat rather than lfpfloat (I'm leaving the subject un-fixed to help mail archives) Gary said: > It needs to be pivoted earlier. When you put a timestamp l_fp into a double > you lose too much precision. Only l_fp offsets should be converted to > doubles. Looks like Gary is

Re: Work item list: lfpfloat to Python

2017-04-26 Thread Gary E. Miller via devel
Yo Hal! On Wed, 26 Apr 2017 00:13:03 -0700 Hal Murray via devel wrote: > Eric said: > > Work item: The lfpfloat() function in the Python interface may be > > dispensible. Convert the hex literal to float and divide by 1<<32 > > to scale to seconds since the NTP epoch. > > It also needs to do

Re: Work item list: lfpfloat to Python

2017-04-26 Thread Hal Murray via devel
Eric said: > Work item: The lfpfloat() function in the Python interface may be > dispensible. Convert the hex literal to float and divide by 1<<32 to scale > to seconds since the NTP epoch. It also needs to do a pivot and/or have an option not to pivot. -- These are my opinions. I hate spam