Re: [AD] Timer patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 2008-01-30 at 04:50 -0800, Chris Robinson wrote:
> On Wednesday 30 January 2008 04:01:41 am AJ wrote:
> > what is the wrap time for  a double vs  int64_t ?
> 
> A double won't wrap. It will continue increasing, eventually losing not only 
> decimal precision, but also whole number precision, until hitting Inf.
> 

And as I said some time ago, precision loss would be like this:

s: 2^53 years
ms: 200000 years
us: 200 years
ns: 90 days

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/