Work item list: lfpfloat to Python

Gary E. Miller gem at
Wed Apr 26 19:02:39 UTC 2017

Yo Hal!

On Wed, 26 Apr 2017 00:13:03 -0700
Hal Murray via devel <devel at> 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 a pivot and/or have an option not to pivot.

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.

Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at  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: 488 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the devel mailing list