title: What is the quickest way to find the maximum of two floats in C++?
body: <p>What is the quickest way to find the maximum of two floats:</p>
  
  <p>a)</p>
  
  <pre><code>y = std::max(x1, x2);
  </code></pre>
  
  <p>b)</p>
  
  <pre><code>if (x1 &gt; x2)
      y = x1;
  else
      y = x2;
  </code></pre>
  
  <p>c)</p>
  
  <pre><code>y = x1 &gt; x2 ? x1 : x2;
  </code></pre>
  
  <p>Thanks</p>