Improve time usage of mathematical functions

Hi!

I want to improve the latency of several mathematical functions by using the compiler flag -use_fast_math. I include the header <math_functions.h>. But there is no improvement.

I try the second way to use the faster alternativ of the function sqrt, by calling __sqrt. But this functions doesn’t exist.

What did I wrong? Did I use the wrong header, or is there no faster version of sqrt?

Thanks in advance!

What about sqrtf? Does fast math work for double precision?