[libc-commits] [libc] [libc] Fix shared math tests for gcc-13. (PR #199318)

via libc-commits libc-commits at lists.llvm.org
Sat May 23 02:30:29 PDT 2026


================
@@ -808,10 +808,14 @@ TEST(LlvmLibcSharedMathTest, AllBFloat16) {
   EXPECT_FP_EQ(bfloat16(0.0), LIBC_NAMESPACE::shared::nextafterbf16(
                                   bfloat16(0.0), bfloat16(0.0)));
   EXPECT_FP_EQ(bfloat16(1.0), LIBC_NAMESPACE::shared::sqrtbf16(bfloat16(1.0)));
-#ifndef LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
-  EXPECT_FP_EQ(bfloat16(0.0),
-               LIBC_NAMESPACE::shared::nexttowardbf16(bfloat16(0.0), 0.0L));
-#endif // LIBC_TYPES_LONG_DOUBLE_IS_DOUBLE_DOUBLE
+  // TODO: This test case just failed only when building with gcc-13 and only
----------------
lntue wrote:

Created https://github.com/llvm/llvm-project/issues/199332.

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


More information about the libc-commits mailing list