[Mono-bugs] [Bug 81857][Nor] Changed - BigInteger.IsProbablePrime() fails on some primes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 5 01:44:00 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by atsushi at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81857

--- shadow/81857	2007-07-04 11:51:25.000000000 -0400
+++ shadow/81857.tmp.20076	2007-07-05 01:44:00.000000000 -0400
@@ -100,6 +100,12 @@
 
 That explains why the problem is only seen when checking for primes
 and not elsewhere (where all numbers are big).
 
 Since this occurs with both the old and new [Mod]Pow I suspect the
 problem is in the multiplication (with modulo) code.
+
+------- Additional Comments From atsushi at ximian.com  2007-07-05 01:43 -------
+Hey, thanks for the couple of fixes :)
+
+BTW Kazuki reported that it takes about 6 seconds (at his box) when
+the arugment is 65537. Probably it takes too much.


More information about the mono-bugs mailing list