[flang-commits] [flang] [llvm] [Flang] Introduce common::numeric_limits (PR #228108)
Michael Kruse via flang-commits
flang-commits at lists.llvm.org
Tue Oct 6 04:46:39 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()));
----------------
Meinersbur wrote:
I went back-and-forth between using std:: and common:: here. My own AI review objected against common:: because it meant including uint128.h even though this occurance only uses floats. Apparently I pushed some in-between state.
https://github.com/llvm/llvm-project/pull/228108
More information about the flang-commits
mailing list