Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2023-01-18 20:04:22 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2023-01-18 20:04:22 +0300
commit1040f78176c7dad57aadbbd023e8ac094606ac25 (patch)
tree1c074e0960fe2b8c1ab44ebee6c51170de9c9b14 /networking
parent479bd7af0d24d123326c1ceb447e015e9e2955d7 (diff)
ntpd: correct comment: 2^-20 is ~1 microsecond (confused with 10^-20)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/ntpd.c2
1 files changed, 1 insertions, 1 deletions
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.