NetBSD 6.1.5 doesn't have ldexpl in math.h

Gary E. Miller gem at rellim.com
Fri Sep 8 20:14:52 UTC 2017


Yo Hal!

On Thu, 07 Sep 2017 16:23:04 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> [Using ldexp when ldexpl isn't available.]
> > Serious loss of precision, but maybe the best we can do.  
> 
> Does anybody have any data on how serious that would be?

Yes, a float is 56 bits of precision.  a timespec is 64 bits.

> Does ntp classic do anything interesting in this area?  (That's the
> sort of thing that Dave Mills is likely to have thought about.)

ntp classic uses interger math, ntpsec uses double.

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: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170908/24774137/attachment.bin>


More information about the devel mailing list