From 1040f78176c7dad57aadbbd023e8ac094606ac25 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 18 Jan 2023 18:04:22 +0100 Subject: ntpd: correct comment: 2^-20 is ~1 microsecond (confused with 10^-20) Signed-off-by: Denys Vlasenko --- networking/ntpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networking/ntpd.c b/networking/ntpd.c index db04eb272..c7519b8fb 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c @@ -1040,7 +1040,7 @@ step_time(double offset) /* This code adds floating point value on the order of 1.0 * to a value of ~4 billion (as of years 203x). * With 52-bit mantissa, "only" 20 bits of offset's precision - * are used (0.01 attosecond), the rest is lost. + * are used (~1 microsecond), the rest is lost. * Some 200 billion years later, when tvc.tv_sec would have * 63 significant bits, the precision loss would be catastrophic, * a more complex code would be needed. -- cgit v1.2.3-55-g6feb