[Mono-bugs] [Bug 51229][Nor] Changed - PrimalityTests.SmallPrimeSppTest doesn't work...

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 13 Feb 2004 12:01:50 -0500 (EST)


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 sebastien@ximian.com.

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

--- shadow/51229	2004-02-06 16:19:35.000000000 -0500
+++ shadow/51229.tmp.15908	2004-02-13 12:01:50.000000000 -0500
@@ -1,21 +1,22 @@
 Bug#: 51229
 Product: Mono/Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: bmaurer@users.sf.net                            
 ReportedBy: pieter@mentalis.org               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
+Cc: 
 Summary: PrimalityTests.SmallPrimeSppTest doesn't work...
 
 The SmallPrimeSppTest method in the Mono.Math.Prime.PrimalityTests class 
 doesn't work properly. It returns false even though I know the number in 
 question is a prime number. SmallPrimeSppTest is the method that is used 
 in BigInteger.isProbablePrime, so this method won't work either.
@@ -47,6 +48,16 @@
 November/003027.html
 
 I don't know why exactly the SmallPrimeSppTest doesn't work -- it 
 simply returns the wrong results [ie, if you give it a prime number, 
 SmallPrimeSppTest says it isn't prime]. The Rabin-Miller test returns 
 the correct results.
+
+------- Additional Comments From sebastien@ximian.com  2004-02-13 12:01 -------
+Bug #54262 also have a (different) issue with the current primility
+test method. I'm switching to Rabin-Miller. 
+
+Pieter - your patches (including the BigInteger.Parse static method)
+from the first email has been added to BigInteger. Your DH
+implementation will follow soon.
+
+Thanks.