[libcxx-commits] [libcxx] [libcxx][test][z/OS] Fix hermite.pass.cpp for HEX float (PR #101019)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 31 10:59:12 PDT 2024
================
@@ -289,6 +296,7 @@ void test() {
}
}
+#if !(defined(__MVS__) && !defined(__BFP__))
----------------
PaulXiCao wrote:
Could this be solved using
`if constexpr (std::numeric_limits<Real>::has_infinity)` instead of preprocessor macros?
https://en.cppreference.com/w/cpp/types/numeric_limits/has_infinity
https://github.com/llvm/llvm-project/pull/101019
More information about the libcxx-commits
mailing list