title: How can I calculate very large numbers in C++
body: <p>I have 2 doubles and I want to add them, divide them etc but everything returns <code>inf</code></p>
  
  <pre><code>double num1 = 1.999999999999999999e+320 
  
  double num_2 =1.999999999999999e+320 
  </code></pre>
  
  <p>Are they out of range of <code>double</code>? How can I extend it or solve the problem?</p>