Skip to content

Commit 7734fdd

Browse files
Update math/modular_inverse_fermat_little_theorem.cpp
Co-authored-by: realstealthninja <[email protected]>
1 parent 0000c27 commit 7734fdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

math/modular_inverse_fermat_little_theorem.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ std::int64_t binExpo(std::int64_t a, std::int64_t b, std::int64_t m) {
8080
/**
8181
* @brief Check if a given integer is a prime number.
8282
* @param m An intger to check for primality
83-
* @return 'true' if the number is prime, otherwise 'false'
83+
* @return true if the number is prime
84+
* @return false if the number is not prime
8485
*/
8586
bool isPrime(std::int64_t m) {
8687
if (m <= 1) {

0 commit comments

Comments
 (0)