Merge branch 'feature-quantileBfloat16' of github.com:RedClusive/ClickHouse into feature-quantileBfloat16

This commit is contained in:
RedClusive 2021-04-15 14:46:10 +00:00
commit d8b51083c4

View File

@ -142,7 +142,7 @@ private:
return ext::bit_cast<UInt32>(static_cast<Float32>(x)) >> 16; return ext::bit_cast<UInt32>(static_cast<Float32>(x)) >> 16;
} }
Float32 to_Float32(const bfloat & x) const Float32 to_Float32(const bfloat16 & x) const
{ {
return ext::bit_cast<Float32>(x << 16); return ext::bit_cast<Float32>(x << 16);
} }