title: Is there a FLT_EPSILON defined in the .NET framework?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2411392/double-epsilon-for-equality-greater-than-less-than-less-than-or-equal-to-gre">Double.Epsilon for equality, greater than, less than, less than or equal to, greater than or equal to</a>  </p>
  </blockquote>
  
  
  
  <p>I recently discovered that <code>FLT_EPSILON</code> as defined in <code>&lt;cfloat&gt;</code> is not at all the same as <code>Single.Epsilon</code> as defined in the .NET Framework. </p>
  
  <ul>
  <li><p><code>FLT_EPSILON</code> is defined as the smallest such that 1.0 + epsilon != 1.0.</p></li>
  <li><p><code>Single.Epsilon</code> is defined as the smallest possible number greater than zero.</p></li>
  </ul>
  
  <p>Is there a <code>&lt;cfloat&gt;</code>-style epsilon defined somewhere in the .NET Framework? Or if I need to define my own, should that be defined identically in .NET as the value I see in <code>&lt;cfloat&gt;</code>?</p>