diff --git a/test/unit_test/runtime/magnitude_test.cpp b/test/unit_test/runtime/magnitude_test.cpp index b7a75b65..038aff8a 100644 --- a/test/unit_test/runtime/magnitude_test.cpp +++ b/test/unit_test/runtime/magnitude_test.cpp @@ -168,15 +168,6 @@ TEST_CASE("make_ratio performs prime factorization correctly") as_magnitude(); } - SECTION("Can handle prime number which would exceed GCC iteration limit") - { - // GCC 10 has a constexpr loop iteration limit of 262144. A naive algorithm, which performs trial division on 2 and - // all odd numbers up to sqrt(N), will exceed this limit for the following prime. Thus, for this test to pass, we - // need to be using a more efficient algorithm. (We could increase the limit, but we don't want users to have to - // mess with compiler flags just to compile the code.) - as_magnitude<334'524'384'739>(); - } - SECTION("Can bypass computing primes by providing known_first_factor") { // Sometimes, even wheel factorization isn't enough to handle the compilers' limits on constexpr steps and/or