Miller–Rabin primality test: Difference between revisions

(Undo revision 182035 by Qwr (talk) code is questionable, see discussion)
Line 2,064:
 
=={{header|Python}}==
 
'''The correctness of this code is in question! See discussion'''
 
===Python: Probably correct answers===
This versions will give answers with a very small probability of being false. That probability being dependent on _mrpt_num_trials and the random numbers used for name <code>a</code> passed to function try_composite.
Anonymous user