Fix some UB in test

This commit is contained in:
Ed Hennis
2026-07-02 21:07:59 -04:00
parent f6a58620b2
commit 82ca28f329

View File

@@ -2057,7 +2057,7 @@ public:
// number to avoid overflow and UB
Number const n{
true,
-static_cast<std::uint64_t>(std::numeric_limits<std::int64_t>::min()) + 1,
static_cast<std::uint64_t>(std::numeric_limits<std::int64_t>::max()) + 1,
0,
Number::Normalized{}};