With strict warnings on: Fixing Xcode warnings about implicit cast from double -> float, and loss of precision.
Addressing Marc's concern that another static inline function pollutes the global namespace
Merge pull request #1 from JoshuaGross/master

With strict warnings on: Fixing Xcode warnings about implicit cast from `double` -> `float`, and loss of precision.