[libcxx-commits] [libcxx] [libcxx][test][z/OS] Fix hermite.pass.cpp for HEX float (PR #101019)
Zibi Sarbinowski via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Aug 2 13:33:20 PDT 2024
================
@@ -26,7 +26,13 @@
#include "type_algorithms.h"
-inline constexpr unsigned g_max_n = 128;
+template <class Real>
+constexpr unsigned get_maximal_order() {
+ if constexpr (std::numeric_limits<Real>::max_exponent10 < std::numeric_limits<Real>::max_exponent)
----------------
zibi2 wrote:
Agree, thank you for suggestions.
https://github.com/llvm/llvm-project/pull/101019
More information about the libcxx-commits
mailing list