Skip to content

Commit 7ca095f

Browse files
committed
Add comment and formatting
1 parent c61c196 commit 7ca095f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/check.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,15 @@ pub const fn is_prime(n: u64) -> bool {
5151
(9_080_190, &[31, 73]),
5252
(25_326_000, &[2, 3, 5]),
5353
(4_759_123_140, &[2, 7, 61]),
54-
(1_112_004_669_632, &[2, 13, 23, 1662803]),
54+
(1_112_004_669_632, &[2, 13, 23, 1_662_803]),
5555
(2_152_302_898_746, &[2, 3, 5, 7, 11]),
5656
(3_474_749_660_382, &[2, 3, 5, 7, 11, 13]),
5757
(341_550_071_728_320, &[2, 3, 5, 7, 11, 13, 17]),
5858
(3_825_123_056_546_413_050, &[2, 3, 5, 7, 11, 13, 17, 19, 23]),
5959
(u64::MAX, &[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37]),
6060
];
6161

62+
// Find the smallest basis that is large enough.
6263
let mut i = 0;
6364
while WITNESSES[i].0 < n {
6465
i += 1;

0 commit comments

Comments
 (0)