Difference between Infinity and NaN (Not a number)
<p>When does java print Infinity and when does it print NaN?</p>

<p>Why is 1.0/0.0 infinity but ((1.0/0.0) - (1.0/0.0)) NaN and 0.0f/0.0f an NaN?</p>

<p>What is the difference between these two?</p>
