[libc-commits] [libc] [libc] Enables MPFR for float80 and adds tests for it (PR #223800)

via libc-commits libc-commits at lists.llvm.org
Tue Sep 15 20:52:47 PDT 2026


================
@@ -65,6 +65,12 @@ template <> struct ExtraPrecision<float128> {
 };
 #endif // LIBC_TYPES_FLOAT128_IS_NOT_LONG_DOUBLE
 
+#ifdef LIBC_TYPES_LONG_DOUBLE_IS_X86_FLOAT80
+template <> struct ExtraPrecision<float80> {
+  static constexpr unsigned int VALUE = 256;
+};
+#endif
----------------
lntue wrote:

add matching comments for consistency.

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


More information about the libc-commits mailing list