[libc-commits] [libc] [libc][math][c23] Add MPFR unit tests for {ceil, floor, round, roundeven, trunc}f16 (PR #94383)

via libc-commits libc-commits at lists.llvm.org
Wed Jun 5 05:44:03 PDT 2024


================
@@ -30,6 +31,10 @@ namespace mpfr {
 // precision compared to the floating point precision.
 template <typename T> struct ExtraPrecision;
 
+template <> struct ExtraPrecision<float16> {
+  static constexpr unsigned int VALUE = 128;
----------------
lntue wrote:

I think that is ok.

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


More information about the libc-commits mailing list