title: sqrt() returning INF
body: <p>Hi I'm trying to do some calculations with long doubles and I am getting INF from sqrt() function.</p>
  
  <p>Code:</p>
  
  <pre><code>#include &lt;math.h&gt;
  #include &lt;stdio.h&gt;
  
  int main()
  {
      long double bigNUMBER;
      long double p1,p2,p3;
      long double p4;
  
      p1 = 4.769547e+155;
      p2 = 1.012994e+170;
      p3 = 1.714812e+169;
  
      p4 = p1*p1 + p2*p2 + p3*p3;
  
      bigNUMBER = sqrt(p4);
  
      printf("product: %Lf\n\n", p4); // 1055562645989439942507809393771156765931135...
  
      printf("\n result %Lf\n\n", bigNUMBER); // INF
  
      return 0;
  }
  </code></pre>
  
  <p>Thank you!</p>