[clang] [C23] Add INFINITY and NAN macros to <float.h> (PR #96659)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 1 05:58:25 PDT 2024


================
@@ -47,6 +47,8 @@
     (defined(__cplusplus) && __cplusplus >= 201103L) ||                        \
     (__STDC_HOSTED__ && defined(_AIX) && defined(_ALL_SOURCE))
 #    undef DECIMAL_DIG
+#    undef INFINITY
----------------
AaronBallman wrote:

Good catch, I've corrected this.

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


More information about the cfe-commits mailing list