In message: <[EMAIL PROTECTED]> Ashley Yakeley <[EMAIL PROTECTED]> writes: : On Dec 27, 2006, at 06:29, Poul-Henning Kamp wrote: : : > That's a pretty bad format. Computers are binary and having : > pseudo-decimal fields like tv_usec in timeval, tv_nsec in timespec : > and picoseconds in Haskell is both inefficient and stupid. : > : > The fractional part should be a binary field, so that the width : > can be adjusted to whatever precision and wordsize is relevant. : : It's impossible to accurately represent a millisecond using binary : fractions. That would be unacceptable for most sub-second use.
Ummm, it is possible to represent sub-picoseconds accurately using binary fractions. what are you talking about? Warner