Skip to content

Commit 91fad50

Browse files
mschauerararslan
authored andcommitted
Fix overflow in example (#67)
1 parent ba72571 commit 91fad50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Primes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ if the combination of k and n is not supported.
470470
julia> isrieselprime(1, 2^11 - 1) # == ismersenneprime(2^11 - 1)
471471
false
472472
473-
julia> isrieselprime(3, 2^607 - 1)
473+
julia> isrieselprime(3, big(2)^607 - 1)
474474
true
475475
```
476476
"""

0 commit comments

Comments
 (0)