https://bugs.freedesktop.org/show_bug.cgi?id=105670

--- Comment #12 from i...@yahoo.com ---
(In reply to Gert Wollny from comment #11)
> The if statement can be be true because  
> which means at this point R3.w can be zero.

But that's the point in my initial question.
When R3.w=0.0, will "if(+0.0 != -0.0)" be true of false, because float points
do have 2 different zeroes - positive and negative one, and both zero floats do
have different binary representation aka +0.0 = 0x00000000; -0.0 = 0x80000000.

My question is more of the lines: are shader float point operations always IEEE
complaint, and is it guaranteed that (+0.0 == -0.0) is true for all their
implementations.
(For example, SSE float operations sometimes deviate from IEEE for speed
reasons.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to