clang-tidy: template param names, const correctness, braces

This commit is contained in:
Ed Hennis
2026-06-04 20:05:53 -04:00
parent aa8888732e
commit f1bb4ded21
2 changed files with 10 additions and 6 deletions

View File

@@ -1698,7 +1698,7 @@ public:
BigInt const exactProduct = BigInt(kAValue) * BigInt(kBValue);
// What Number actually stored.
BigInt storedValue = toBigInt(product);
BigInt const storedValue = toBigInt(product);
BigInt const signedDifference = storedValue - exactProduct;
@@ -1930,9 +1930,13 @@ public:
BEAST_EXPECT(toBigInt(a) == BigInt{"100000000000000000000"});
if (scale != MantissaRange::MantissaScale::Small)
{
BEAST_EXPECT(toBigInt(b) == BigInt{"-1000000000000000001"});
}
else
{
BEAST_EXPECT(toBigInt(b) == BigInt{"-1000000000000000000"});
}
Number sum;
{