Fixed a potential loss data on an x64 and warnings on isnan() and isinf() for VS2013.