avoid using C++11 isnan
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user