Yo Hal! More info on the NetBSD bug:
TEST(lfpfunc, FDF_RoundTrip)../../tests/libntp/lfpfunc.c:268::FAIL: Expected
0.0 Was 2147482624.0. 2147483647.500000 diff 2147482624.000000 not within
2.384186e-07
2147483647 is hex: 7FFFFFFF
2147482624 is hex: 7FFFFC00
If you know your floaing point you know that 7FFFFFFF fits in a double
just fine. But if you put it in float and then back to hex, you get
7FFFFC00.
That because a float is only 21 significant digits, the same significant
digits as in 7FFFFC00
So somewhere netBSD is using a float instead of a double...
Or something else that is netBSD specific...
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
[email protected] Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpN7MhBxxqhM.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
