Lucas-Lehmer test: Difference between revisions
m
→Quick Remainder: remove incorrect clause in description
m (→Quick Remainder: repaired indent) |
m (→Quick Remainder: remove incorrect clause in description) |
||
Line 834:
=== Quick Remainder ===
The mod function, (<code>%</code>) has a computation cost equivalent to the divide operation. In this case
<lang csharp>using System;
|