We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e68fcd commit 1f16fc4Copy full SHA for 1f16fc4
src/lib_json/json_value.cpp
@@ -849,7 +849,7 @@ bool Value::asBool() const {
849
return value_.uint_ ? true : false;
850
case realValue:
851
// According to JavaScript language zero or NaN is regarded as false
852
- return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN
+ return std::fpclassify(value_.real_) != FP_ZERO && std::fpclassify(value_.real_) != FP_NAN;
853
default:
854
break;
855
}
0 commit comments