Probabilistic prime test based on Fermat's little theorem

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public bool FermatLittleTest(
	int confidence
)
Visual Basic
Public Function FermatLittleTest ( 
	confidence As Integer
) As Boolean
Visual C++
public:
bool FermatLittleTest(
	int confidence
)
F#
member FermatLittleTest : 
        confidence : int -> bool 

Parameters

confidence
Type: System..::..Int32

Return Value

Type: Boolean

See Also