BigInteger.Signum Method

Definition

Returns the signum function of this BigInteger.

[Android.Runtime.Register("signum", "()I", "GetSignumHandler")]
public virtual int Signum ();
[<Android.Runtime.Register("signum", "()I", "GetSignumHandler")>]
abstract member Signum : unit -> int
override this.Signum : unit -> int

Returns

-1, 0 or 1 as the value of this BigInteger is negative, zero or positive.

Attributes

Remarks

Returns the signum function of this BigInteger.

Java documentation for java.math.BigInteger.signum().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to