We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab2635 commit 3e38166Copy full SHA for 3e38166
math/modular_inverse_fermat_little_theorem.cpp
@@ -78,7 +78,7 @@ std::int64_t binExpo(std::int64_t a, std::int64_t b, std::int64_t m) {
78
return res;
79
}
80
/**
81
- * @brief Check if a given integer is a prime number.
+ * @brief Check if an integer is a prime number in \f$O(\sqrt{m})\f$ time.
82
* @param m An intger to check for primality
83
* @return true if the number is prime
84
* @return false if the number is not prime
0 commit comments