avoid using C++11 isnan

This commit is contained in:
john30
2018-12-22 19:16:04 +01:00
parent 768bd5c299
commit be8d772524
+1 -1
View File
@@ -696,7 +696,7 @@ result_t NumberDataType::readSymbols(size_t offset, size_t length, const SymbolS
}
}
#endif
if (isnan(val)) {
if (val!=val) { // !isnan(val)
if (outputFormat & OF_JSON) {
*output << "null";
} else {