As explained on the Sequence Manipulator Functions page,
mco_seq_skip_nan_float()andmco_seq_skip_nan_double()copy input to result while skippingNaN(Not-a-Number) elements. No integer or character variants are declared.A Note on NaN Values in Microsoft Windows
In the Microsoft Windows environment,
NULLs are denoted as0.0/0.0instead of the "nan" string. This is the value passed into the SQL statement.Note that if
0.0/0.0is passed as a parameter in a C/C++ application, Visual Studio 2013 does not have the "nan" or "nanf" symbols defined. Therefore, the following workaround can be used in the application code:#ifdef _WIN32 #if _MSC_VER < 1900 /* Visual Studio 2013 and earlier */ #include <float.h> #define isnan _isnan const unsigned long nan[2] = {0xffffffff, 0x7fffffff}; #define nan(s) (*(double *)nan) #define nanf(s) (*(float *)nan) #endif #endifStarting from Visual Studio 2015, the "nan" and "nanf" symbols are present.