[libc-commits] [libc] [libc][math] Bfloat16 `*= (Multiply assign)` operator support (PR #182882)

via libc-commits libc-commits at lists.llvm.org
Tue Feb 24 09:24:50 PST 2026


================
@@ -67,3 +67,23 @@ TEST_F(LlvmLibcBfloat16ConversionTest, FromInteger) {
     EXPECT_FP_EQ_ALL_ROUNDING(mpfr_bfloat, libc_bfloat);
   }
 }
+
+TEST_F(LlvmLibcBfloat16ConversionTest, MultiplyAssign) {
+
+  static constexpr BFloat16 val[] = {
----------------
lntue wrote:

nit: remove `static` and fully capitalize `val`.

https://github.com/llvm/llvm-project/pull/182882


More information about the libc-commits mailing list