Re: [AD] use double for al_current_time and al_rest? |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Milan Mimica wrote:
Andrei Ellman wrote:I thought that what we have now is an integer number of milliseconds and not a fixed-point number of seconds.1000 (ms) = 1000 (fixed point, 1 second with 3 decimals)Representation may be different, but for compiler it's the same, thus it suffers from all the problems mentioned.
What I meant was using Allegro's 'fixed' type in which fractions with denominators of powers of 10 (eg. 1/1000) cannot be represented exactly.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |