title: infinity and nan values
body: <p>I use gcc-mingw,4.5.2 on Winows 7.
  printf of infinity and nan values causes 1.#INF00 and -1.#IND00  to appear in the screen ,instead of infinity &amp;&amp; nan
  what could be a solution for this problem</p>
  
  <p><strong>UPD</strong>:I tried to use <code>isinf</code> and <code>isnan</code> macros :</p>
  
  <pre><code>C3861: 'isinf': identifier not found error 
  C3861: 'isnan': identifier not found.
  </code></pre>
  
  <p>(I did include to math.h)
  What is the reason for this?</p>