Blackdots fix change requested by DarkTide-

Now the domain checks are also performed when FAST-MATH=ON
Also, no need to differentiate acos() and acosf() as for C++ acos() it's an overloaded function and should work for float and double