[libc-commits] [libc] [libc][math] Fix range comments in exhaustive hypotf_test (PR #131769)
via libc-commits
libc-commits at lists.llvm.org
Mon Mar 24 07:04:37 PDT 2025
================
@@ -51,7 +51,7 @@ struct HypotfChecker : public virtual LIBC_NAMESPACE::testing::Test {
using LlvmLibcHypotfExhaustiveTest = LlvmLibcExhaustiveMathTest<HypotfChecker>;
-// Range of the first input: [2^23, 2^24);
+// Range of the first input: [2^23, 2^23 + 1];
static constexpr uint32_t START = (23U + 127U) << 23;
static constexpr uint32_t STOP = ((23U + 127U) << 23) + 1;
----------------
lntue wrote:
Sorry, you were right, this one should be 24U, and is inclusive.
https://github.com/llvm/llvm-project/pull/131769
More information about the libc-commits
mailing list