On Sun, 06 Aug 2000, Gisle Aas wrote:

> How about using a float (fractional second) instead of $msec, $nsec.

Or in addition to.

The problem with fractional seconds is that you can't really tell
exactly how precise your measurements are.

Here, at least, you could have an undef for the measurements the
platform doesn't support.

Or maybe a fractional second, drop the smaller fields, and include a
resolution field that would tell you how many digits are valid?

printf "%.${digits}f", $sec;

perhaps?


> 
> --Gisle
-- 
Bryan C. Warnock
([EMAIL PROTECTED])

Reply via email to