bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: revised use of column space in "ls"


From: Markus Kuhn
Subject: Re: revised use of column space in "ls"
Date: Fri, 21 Dec 2001 01:56:06 +0000

Paul Eggert wrote on 2001-12-21 01:17 UTC:
> We could also remove the trailing zeros from the fractional part of
> the time stamp.

Not just zeros. The proper way to handle this is to query the timer
resolution R and then round to ceil(-log10(R / 1 s)) fractional second
digits. Any additional digit contains no information and the displayed
digits can be used to reconstruct the original exact timestamp.

Markus

-- 
Markus G. Kuhn, Computer Laboratory, University of Cambridge, UK
Email: mkuhn at acm.org,  WWW: <http://www.cl.cam.ac.uk/~mgk25/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]