adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] New physics engine for 0.4, test 2


From: Alexandre Courbot
Subject: Re: [Adonthell-devel] New physics engine for 0.4, test 2
Date: Tue, 1 Oct 2002 18:12:38 +0200

> Is there a special reason you don't want to use floats? In modern CPUs
> floats just take a cycle to calculate, actually in some cases floats
> can be faster than ints. (Or so I have heard :)

That's right - however all machines doesn't have a floating point unit
(I'm thinking about handhelds here). And in the general case ints are
faster, so I'd prefer to use them everywhere possible. Of course, if the
precision isn't good enough, I'll switch back to floats.

Alex.
-- 
http://www.gnurou.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]