[libcxx-commits] [libcxx] [libc++] __need_infinity_nan doesn't work in non-gnu c++ standards (PR #172539)

Ian Anderson via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 16 21:04:00 PST 2025


================
@@ -7,9 +7,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef _LIBCPP_FLOAT_H
----------------
ian-twilightcoder wrote:

Yeah, unfortunately. I really wish C23 hadn't moved `INFINITY` and `NAN` to float.h, it's really obnoxious to properly support that with clang modules.

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


More information about the libcxx-commits mailing list