[libc] Fix buildbot failures (#156733) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> GitOrigin-RevId: d7a08c5a806fa3f59ef61d6a89ca9fff07555906
diff --git a/src/__support/FPUtil/bfloat16.h b/src/__support/FPUtil/bfloat16.h index b607fd6..13e1512 100644 --- a/src/__support/FPUtil/bfloat16.h +++ b/src/__support/FPUtil/bfloat16.h
@@ -29,7 +29,9 @@ LIBC_INLINE BFloat16() = default; - template <typename T> LIBC_INLINE constexpr explicit BFloat16(T value) { + template <typename T> + LIBC_INLINE constexpr explicit BFloat16(T value) + : bits(static_cast<uint16_t>(0U)) { if constexpr (cpp::is_floating_point_v<T>) { bits = fputil::cast<bfloat16>(value).bits; } else if constexpr (cpp::is_integral_v<T>) {