<p>On Jul 9, 2011 9:46 AM, &quot;Dylan Smith&quot; &lt;<a href="mailto:dylan.ah.smith@gmail.com">dylan.ah.smith@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Sat, Jul 9, 2011 at 10:16 AM, Misha Koshelev &lt;<a href="mailto:misha680@gmail.com">misha680@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Does the attached patch work on MS Visual Studio 2010? This passes all tests.<br>
&gt;<br>
&gt; Ya, it should work.  I was only building test applications using the<br>
&gt; cl from the platform SDK in wine; I haven&#39;t been using it for make<br>
&gt; crosstest.<br>
&gt;<br>
&gt; &gt; Your version does not seem to convert properly to +NAN on some<br>
&gt; &gt; platforms (e.g., Linux) and results in some test failures.<br>
&gt;<br>
&gt; That doesn&#39;t make sense, because I am primarily using gcc in Ubuntu.<br>
&gt; Did you try it with the parentheses, because unary minus has higher<br>
&gt; precedence than division:<br>
&gt;<br>
&gt; -0.0f/zero =&gt; -nan (0xffc00000)<br>
&gt; -(0.0f/zero) =&gt; nan (0x7fc00000)</p>
<p>Hi Dylan:</p>
<p>I am sorry I miswrote about Ubuntu. However, there were some test failures that occurred on Winetestbot when I tried to use -(0.0f/zero) for nan.</p>
<p>Thank you<br>
Misha</p>