Java.Math.BigInteger.IsProbablePrime Method
Tests whether this BigInteger is probably prime.

Syntax

[Android.Runtime.Register("isProbablePrime", "(I)Z", "GetIsProbablePrime_IHandler")]
public virtual bool IsProbablePrime (int certainty)

Parameters

certainty
tolerated primality uncertainty.

Returns

Documentation for this section has not yet been entered.

Remarks

Tests whether this BigInteger is probably prime. If true is returned, then this is prime with a probability greater than 1 - 1/2certainty). If false is returned, then this is definitely composite. If the argument certainty <= 0, then this method returns true.

[Android Documentation]

Requirements

Namespace: Java.Math
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1