title: Floating point number answer difference between c++ and calculator
body: <p>I am calculating a floating point number by formula: number=1/(n-2.001)<br />
  Where n is any integer from 1 to infinite.
  But it give me different answer in laptop and scientific calculator.</p>
  <pre><code>C++ calculation : 0.333444
  Calculator answer: 0.3334444815
  </code></pre>
  <p>I have to get all digits in c++. How i get this.</p>