isnan() is not a memory of Math namespace, but of std namespace