[libc-commits] [libc] [libc] Fix missing LIBC_TYPES_HAS_FLOAT16 guard around DyadicFloat::generic_as() (PR #109697)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Sep 23 10:58:40 PDT 2024


================
@@ -101,6 +101,7 @@ template <size_t Bits> struct DyadicFloat {
     return exponent + (Bits - 1);
   }
 
+#ifdef LIBC_TYPES_HAS_FLOAT16
----------------
jhuber6 wrote:

Why does this require float16?

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


More information about the libc-commits mailing list