In message <7519944A-6834-4978-955E-18FEA07DDACF_at_semantic.org>, Ashley Yakeley
writes:
>On Dec 27, 2006, at 14:32, Poul-Henning Kamp wrote:
>
>>> It's impossible to accurately represent a millisecond using binary
>>> fractions. That would be unacceptable for most sub-second use.
>>
>> Reality check: with a 32bit fraction, the error would be 69 ps.
>
>...which accumulates in arithmetic and causes equality comparisons to
>fail. This should hold:
I seriously don't belive you do equality comparisons at the 1msec level
in real world software. Please provide examples.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
Received on Thu Dec 28 2006 - 00:47:05 PST