title: Precision of repr(f), str(f), print(f) when f is float
body: <p>If I run:</p>
  
  <pre><code>&gt;&gt;&gt; import math
  &gt;&gt;&gt; print(math.pi)
  3.141592653589793
  </code></pre>
  
  <p>Then pi is printed with 16 digits,</p>
  
  <p>However, according to:</p>
  
  <pre><code>&gt;&gt;&gt; import sys
  &gt;&gt;&gt; sys.float_info.dig 
  15
  </code></pre>
  
  <p>My precision is 15 digits.</p>
  
  <p>So, should I rely on the last digit of that value (i.e. that the value of π indeed is 3.141592653589793nnnnnn).</p>