Ambiguity between std::log(double) and std::log(float)