[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:11 PDT 2024


================
@@ -203,6 +208,7 @@ std::vector<T> get_roots(unsigned n) {
 
 template <class Real>
 void test() {
+#if !(defined(__MVS__) && !defined(__BFP__))
----------------
PaulXiCao wrote:

Similar to the other comment: Could we make use of `std::numeric_limits<Real>::has_???_NaN` here?

E.g. https://en.cppreference.com/w/cpp/types/numeric_limits/has_quiet_NaN

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


More information about the libcxx-commits mailing list