title: Double versus float
body: <p>I have a constant for pi in my code:</p>
  
  <p><code>const float PI = acos(-1);</code></p>
  
  <p>Would it be better to declare it as a double?  An answer to another question on this site said floating point operations aren't exactly precise, and I'd like the constant to be accurate.</p>