title: What do I need to do to use tgmath on iOS?
body: <p>I'm compiling my first project with 64 bit support enabled.  I'm running into a bunch of compiler warnings about implicit conversions to float.  This is happening because I'm using fabsf() and assigning the result to a CGFloat (which is a double, not float on the new 64 bit architecture).</p>
  
  <p>According to the answer on this question:</p>
  
  <p><a href="https://stackoverflow.com/questions/5352457/cgfloat-based-math-functions">CGFloat-based math functions?</a></p>
  
  <p>I just need to <code>#include &lt;tgmath.h&gt;</code> to solve this problem and probably change <code>fabsf</code> to <code>fabs</code>.  I have at least one file where this doesn't seem to be helping.  I still get the warning: <code>implicit conversion loses floating-point precision 'double' to 'CGFloat' aka (float).</code>  Here's the line that generates that warning:</p>
  
  <p><code>CGFloat deltaX = fabs(item.center.x-point.x);</code></p>
  
  <p>Has anyone else run across this?  How did you solve it?  I'd rather not disable this warning or litter my code with a ton of typecasts.</p>