title: Performance of <= and >= when used on floating point types
body: <p>I've heard that when using the <code>&lt;=</code> or <code>&gt;=</code> operators it is automatically optimized by the compilers as such: <code>(int)Variable &gt;= 2</code> becomes <code>(int)Variable &gt; 1</code>. Is this true in any way for floating point types? It seems to me like <code>(float)Variable &gt;= 2</code> can't be optimized to <code>(float)Variable &gt; 1.999999999</code> without heading off to infinity, either causing it to be impossible or to cause a hit to performance. (I am aware the difference in performance may be minuscule, but this is just something I would like to know)</p>