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:
parent
8f8e31e780
commit
2470fab05e
2 changed files with 2 additions and 133 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue