[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:50:59 PDT 2026
================
@@ -113,6 +114,34 @@ static void TestVsNative() {
}
#endif
+template <typename T> static void TestNumericLimitsEquivalence() {
----------------
Meinersbur wrote:
It is meant to test the __int128 specializations. Testing both, Detail:: and Common:: was an AI suggestion. In this case its tests whether e.g. common::Detail<const __int128> routes correctly through the `using` statement, so not a pure self-test.
Testing without AVOID_NATIVE_UINT128_T would mean it has to be in a different file.
https://github.com/llvm/llvm-project/pull/228108
More information about the flang-commits
mailing list