mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Allowed some UB #3926
This commit is contained in:
parent
673fa80a9c
commit
fec30acf81
@ -25,7 +25,7 @@ struct AggregateFunctionAvgData
|
||||
UInt64 count = 0;
|
||||
|
||||
template <typename ResultT>
|
||||
ResultT result() const
|
||||
ResultT NO_SANITIZE_UNDEFINED result() const
|
||||
{
|
||||
if constexpr (std::is_floating_point_v<ResultT>)
|
||||
if constexpr (std::numeric_limits<ResultT>::is_iec559)
|
||||
|
Loading…
Reference in New Issue
Block a user