tgmath.h doesn't work if modules are enabled
I looked into using tgmath.h to deal with the CGFloat typedef float/double mess when dealing with arm64. This answer has a pretty good description of how to use it, except that it didn't work at all for me. No matter what, my code was still calling the math.h functions. After spending some time looking at all of the project compiler settings, I found that disabling the "Modules" feature ( @import vs #import - iOS 7 ) makes it all work. More specifically, the option in the project settings is called Enable Modules(C and Objective-C) in the Apple LLVM 5.1 - Language - Modules dropdown. To see a