AK: Delete unused and untested sqrt, pow and pow_mod from UFixedBigInt

This commit is contained in:
Dan Klishch 2022-11-22 01:25:47 +03:00 committed by Andrew Kaster
commit 2470fab05e
Notes: sideshowbarker 2024-07-16 23:27:19 +09:00
2 changed files with 2 additions and 133 deletions

View file

@ -39,15 +39,6 @@ TEST_CASE(identities)
}
}
TEST_CASE(sqrt)
{
srand(0);
for (int i = 0; i < test_iterations; ++i) {
u256 x = get_random<u128>();
EXPECT_EQ((x * x).sqrt(), x);
}
}
TEST_CASE(add_overflow_propagation)
{
u256 a = NumericLimits<u128>::max();