BigInteger.CompareTo Method (UInt64)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Compares a big integer to an unsigned long.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

[CLSCompliantAttribute(false)]
public int CompareTo(
	ulong uu
)

Parameters

uu
Type: System.UInt64
A UInt64 value that is compared to a big integer.

Return Value

Type: System.Int32
A signed integer that indicates how the big integer compares to an unsigned long.

Return value

Description

Less than zero

The big integer is less than an unsigned long.

Zero

The big integer is equal to an unsigned long.

Greater than zero

The big integer is greater than an unsigned long.

Implements

IComparable<T>.CompareTo(T)

Show: