if statement executing when condition is false
<p>I'm tinkering with a projecteuler problem and I encountered the following really odd behaviour. And I can't for the life of me figure out whats going on. </p>

<p><img src="http://i.imgur.com/0Ds4I.png" alt="Screenshot"></p>

<p>As the screenshot shows. The condition evaluates to false, and the if-statment executed as if it was true. </p>

<p>I feel like I'm going crazy here. </p>

<p>Updated code: <a href="http://ideone.com/L7KMu" rel="nofollow">http://ideone.com/L7KMu</a></p>

<p>Edit: The actual values for next.x and next.y just prior to the condition are
0.324583, 9.97891</p>

<p>The are unchanged after the if statement. </p>
