Re: [AD] blender operations SRC and DST

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


On Tue, Jun 7, 2011 at 8:30 AM, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
> Actually looks like I forgot about the memory blenders. I updated the
> reference implementation in src/blenders.c. I didn't understand the comment
> about 'NaN or Inf * 0 is not 0'. Not that I don't believe this statement but
> I don't see why any Nan's or Inf's should be floating around.
>

Bitmaps are uninitialized when created, so any floating point bitmaps
are bound to have NaNs in them. We still want to be able to clear
those with the reference implementation and not keep perpetual NaNs in
there because multiplying the target with 0 would leave them in.




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