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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 16 20:18:49 PST 2025


================
@@ -7,9 +7,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef _LIBCPP_FLOAT_H
----------------
frederick-vs-ja wrote:

Is it really necessary to allow different inclusions of `<float.h>` to have different effects (like `<assert.h>`/`<cassert>`)?

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


More information about the libcxx-commits mailing list