[Mesa-dev] Omission? mesa-10.5.6

Axel Davy axel.davy at ens.fr
Mon May 25 12:19:34 PDT 2015


If one side is NaN, then
!(x == y) is true, whereas x != y is false

On 25/05/2015 21:01, Ilia Mirkin wrote :
> On Mon, May 25, 2015 at 2:53 PM, Matt Turner <mattst88 at gmail.com> wrote:
>
>> It's that the compiler thinks that (!x == y) is a typo for !(x == y).
>> I have to say, I think the first does look strange.
> I dunno... the second looks way stranger. x != y seems way more
> natural. While there's no substantially better way to write !x == y.



More information about the mesa-dev mailing list