isFinite not recognized by Visual Studio