MCPcopy Create free account
hub / github.com/apache/arrow / DefaultMax

Method DefaultMax

cpp/src/parquet/statistics.cc:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 }
100 }
101 constexpr static T DefaultMax() {
102 if constexpr (std::is_floating_point_v<T>) {
103 return -std::numeric_limits<T>::infinity();
104 } else {
105 return std::numeric_limits<T>::lowest();
106 }
107 }
108
109 // MSVC17 fix, isnan is not overloaded for IntegralType as per C++11
110 // standard requirements.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected