是否有isnan()函数?
PS.:我在MinGW(如果这有所不同).
我不得不用isnan()从此解决了<math.h>,这是不存在的<cmath>,这让我#include在第一荷兰国际集团.
<math.h>
<cmath>
#include
c++ double nan
c++ ×1
double ×1
nan ×1