1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +00:00

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
parent 8f8e31e780
commit 2470fab05e
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();