[libc-commits] [libc] [libc][fenv] Add missing FE_* definitions for some environment. (PR #91519)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Oct 31 09:46:14 PDT 2024


================
@@ -17,10 +17,51 @@
 
 #include <fenv.h>
 
+// In some environment, FE_ALL_EXCEPT is set to 0 and the remaining exceptions
+// FE_* are missing.
+#if (FE_ALL_EXCEPT == 0)
----------------
nickdesaulniers wrote:

Yeah, seems like we can just remove this outer conditional.

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


More information about the libc-commits mailing list