[libc-commits] [libc] [llvm] [libc][math] Refactor f16sqrtf128 to Header Only. (PR #175829)

via libc-commits libc-commits at lists.llvm.org
Sat Jan 17 10:34:07 PST 2026


================
@@ -103,6 +103,8 @@ TEST(LlvmLibcSharedMathTest, AllFloat128) {
 
   EXPECT_FP_EQ(float128(0x0p+0),
                LIBC_NAMESPACE::shared::atan2f128(float128(0.0), float128(0.0)));
+  EXPECT_FP_EQ(float16(2.0),
+               LIBC_NAMESPACE::shared::f16sqrtf128(float128(4.0)));
----------------
AnonMiraj wrote:

@bassiounix 

How do you think he should handle that ?
Should he add a TEST for both float128 and float16?

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


More information about the libc-commits mailing list