[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Timer patch
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Wed, 30 Jan 2008 17:51:25 +0100
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>