Re: [chrony-dev] chronyc: CSV output rounds frequency fields to 3 decimals

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Tue, Sep 22, 2026 at 09:21:37AM +0000, Markus Kovero wrote:
> That sounds better than what I suggested — matching the digits to the
> wire format handles the large-value case my fixed-precision idea would
> have got wrong, and it covers skew reading 0 as well. Happy to test a
> patch on a rubidium-referenced host if that is useful; the offset here
> sits around 2e-11, so it exercises the small end.

The latest code in git now has -E option to use the %e notation.
It should work in both normal and CSV modes. In the normal mode the
precision is adjusted to not break the alignment of the reports, so
some values like skew in sources report have only one significant
digit, but in the tracking report it has full precision.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/