Is "max(a,b)" missing from Android NDK
<p>There appears to be no <code>max()</code> function in the Android SDK (API level 8).
Am i mistaken?</p>

<p>Requirement:</p>

<pre><code>r = max(0, r-1);
</code></pre>

<p>I'm reluctant to use the ternary operator because it's time-critical
and I can't be sure the compiler will use registers appropriately
(to avoid recalculating r-1).</p>
