apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: approximating division by a million Re: Why not POSIX time_t?
Date Mon, 15 Jul 2002 20:24:31 GMT
On Mon, 15 Jul 2002, Brian Pane wrote:

> seconds = (t >> 20) + (t >> 24)
>
> That probably isn't accurate enough, but you get the basic idea:
> sum a couple of t/(2^n) terms to approximate t/1000000.
>
> What do you think?


Sounds like the right idea.  But I'm still not sure this isn't too
complicated.  ;-]


Mime
View raw message