[libcxx-commits] [libcxx] [libc++] Remove unused headers from <cmath> (PR #213114)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 31 06:01:06 PDT 2026


================
@@ -14,7 +14,9 @@
 #define CASES_H
 
 #include <cassert>
+#include <cmath>
----------------
frederick-vs-ja wrote:

Although the error messages in CI only reported lack of `numeric_limits`, `<cmath>` should also be included because this file uses `std::abs`, `std::isinf`, and `std::isnan`.

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


More information about the libcxx-commits mailing list