Re: [AD] 4.9.20

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


On Tue, May 25, 2010 at 3:20 PM, Elias Pschernig <elias.pschernig@xxxxxxxxxx> wrote:
Does that mean we cannot use it? Could just use floor(x + 0.5) then.

Using (int)(x + 0.5) is a problem around the zero crossing and I'm never sure if the extra check for negative x or using round/floor is better then.

Feel free to apply btw, I'll only be able to when I get home otherwise in a few hours.


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