[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
Tue Jun 4 10:59:05 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;
----------------
overmighty wrote:
I didn't know what value to use here, so I just copied the one for `float`.
https://github.com/llvm/llvm-project/pull/94383
More information about the libc-commits
mailing list