At 02:15 PM 7/15/2002, Brian Pane wrote:
Bill Stoddard wrote:

Cliff demonstrates that there is significant loss of accuracy using just a
shift. I believe (faith? :-) that there is a simple solution to this. Don't
know what it is just now though...

I think the simple solution is to pack the data into the apr_time_t using (seconds << 20) + microseconds instead of (seconds * 1000000) + microseconds

-1 [that's a veto, not a vote.]

This is the same as a struct timeval, but harder to manipulate!





Reply via email to