message: change to 'std::isnan' and include the header for it explicitly
diff: #include "duckdb/common/field_writer.hpp"
  #include "duckdb/planner/operator/logical_limit_percent.hpp"
  +#include <cmath>
  namespace duckdb {
  @@ -20,7 +21,7 @@ unique_ptr<LogicalOperator> LogicalLimitPercent::Deserialize(LogicalDeserializat
  idx_t LogicalLimitPercent::EstimateCardinality(ClientContext &context) {
  auto child_cardinality = LogicalOperator::EstimateCardinality(context);
  - if ((limit_percent < 0 || limit_percent > 100) || isnan(limit_percent)) {
  + if ((limit_percent < 0 || limit_percent > 100) || std::isnan(limit_percent)) {
  return child_cardinality;
  }
  return idx_t(child_cardinality * (limit_percent / 100.0));
  