#include int Xisnan(double x) { return isnan(x); } int Xisfinite(double x) { return isfinite(x); }