[flang-commits] [flang] [llvm] [Flang] Introduce common::numeric_limits (PR #228108)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue Oct 6 03:27:56 PDT 2026
================
@@ -176,7 +176,7 @@ static void testBesselYnX0(
EXPECT_EQ(
(*result.ZeroBasedIndexedElement<CppTypeFor<TypeCategory::Real, KIND>>(
j)),
- (-std::numeric_limits<
+ (-Fortran::common::numeric_limits<
CppTypeFor<TypeCategory::Real, KIND>>::infinity()));
----------------
eugeneepshteyn wrote:
nit: this file no longer includes `flang/Common/uint128.h` (dropped in this revision) but still uses `Fortran::common::numeric_limits`; it only compiles through `tools.h` → `cpp-type.h`.
https://github.com/llvm/llvm-project/pull/228108
More information about the flang-commits
mailing list