Future proofing: Rename Large and Enabled to Large330 and Enabled330

- If more fixes need to be made in the future, they can be added after,
  instead of needing to do the "rename dance", I had to do with this PR.
This commit is contained in:
Ed Hennis
2026-06-09 18:44:46 -04:00
parent 772e0c30f7
commit 5c62c15ad8
4 changed files with 59 additions and 53 deletions

View File

@@ -1813,7 +1813,7 @@ public:
switch (scale)
{
case MantissaRange::MantissaScale::Large320:
case MantissaRange::MantissaScale::Large:
case MantissaRange::MantissaScale::Large330:
BEAST_EXPECT(signedDifference >= 0);
BEAST_EXPECT(signedDifference < pow10<BigInt>(product.exponent()));
BEAST_EXPECT(
@@ -1896,7 +1896,7 @@ public:
switch (scale)
{
case MantissaRange::MantissaScale::Large320:
case MantissaRange::MantissaScale::Large:
case MantissaRange::MantissaScale::Large330:
BEAST_EXPECT(stored >= exact);
BEAST_EXPECT(diff < pow10(quotient.exponent()));
break;
@@ -1947,7 +1947,7 @@ public:
switch (scale)
{
case MantissaRange::MantissaScale::Large320:
case MantissaRange::MantissaScale::Large:
case MantissaRange::MantissaScale::Large330:
BEAST_EXPECT(stored <= exact);
BEAST_EXPECT(diff > -pow10(quotient.exponent()));
break;
@@ -2005,7 +2005,7 @@ public:
switch (scale)
{
case MantissaRange::MantissaScale::Large320:
case MantissaRange::MantissaScale::Large:
case MantissaRange::MantissaScale::Large330:
BEAST_EXPECT(stored >= exact);
BEAST_EXPECT(diff < pow10(quotient.exponent()));
break;