diff --git a/base/intfuncs.jl b/base/intfuncs.jl index e44ea8eed2463..8d46fcffa3ad5 100644 --- a/base/intfuncs.jl +++ b/base/intfuncs.jl @@ -271,7 +271,7 @@ n * invmod(n) == 1 (n % T) * invmod(n, T) == 1 ``` Note that `*` here is modular multiplication in the integer ring, `T`. This will -throw an error if ``n`` is even, because then it is not relatively prime with `2^N` +throw an error if `n` is even, because then it is not relatively prime with `2^N` and thus has no such inverse. Specifying the modulus implied by an integer type as an explicit value is often