<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 11:15 AM, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> writes:<br>
<br>
> Previously, we called the abs() function in math.h.  However, this involves<br>
> unnecessarily going through double.  This commit changes it to use integers<br>
> directly with a ternary.<br>
<br>
</span>Or just use fabs()?<br>
</blockquote></div><br></div><div class="gmail_extra">This is for the integer version.  We don't want to go through floats or doubles.<br></div><div class="gmail_extra"><br></div></div>